388  References
389     [1] Z. Abbasiantaeb, Y. Yuan, E. Kanoulas, and M. Aliannejadi. Let the LLMs talk: Simulating
390        human-to-human conversational QA via zero-shot LLM-to-LLM interactions. Proceedings of
391         the 17th ACM International Conference on Web Search and Data Mining, 2023.

392     [2] M. Abdin, J. Aneja, H. Awadalla, A. Awadallah, A. A. Awan, N. Bach, A. Bahree, A. Bakhtiari,
393            J. Bao, H. Behl, et al. Phi-3 technical report: A highly capable language model locally on your
394        phone. arXiv preprint arXiv:2404.14219, 2024.

395     [3]  J. Achiam, S. Adler, S. Agarwal, L. Ahmad,  I. Akkaya, F. L. Aleman, D. Almeida,
396           J. Altenschmidt, S. Altman, S. Anadkat, et al.  GPT-4 technical report.  arXiv preprint
397        arXiv:2303.08774, 2023.

398     [4] A. Angelopoulos, S. Bates, J. Malik, and M. I. Jordan. Uncertainty sets for image classiﬁers
399        using conformal prediction. arXiv preprint arXiv:2009.14193, 2020.

400     [5] A. N. Angelopoulos and S. Bates. Conformal prediction: A gentle introduction. Foundations
401       and Trends® in Machine Learning, 16(4):494–591, 2023.

402     [6] Y. Ba, M. Mancenido, and R. Pan. Fill in the gaps: Model calibration and generalization with
403         synthetic data. In Conference on Empirical Methods in Natural Language Processing, pages
404       17211–17225, 2024.

405     [7]  J. Bai, S. Bai, Y. Chu, Z. Cui, K. Dang, X. Deng, Y. Fan, W. Ge, Y. Han, F. Huang, et al. Qwen
406         technical report. arXiv preprint arXiv:2309.16609, 2023.

407     [8] S. Bates, E. Candès, L. Lei, Y. Romano, and M. Sesia. Testing for outliers with conformal
408         p-values. The Annals of Statistics, 51(1):149–178, 2023.

409     [9] A. M. Bean, R. Payne, G. Parsons, H. R. Kirk, J. Ciro, R. Mosquera, S. H. Monsalve, A. S.
410        Ekanayaka, L. Tarassenko, L. Rocher, et al. Clinical knowledge in llms does not translate to
411       human interactions. arXiv preprint arXiv:2504.18919, 2025.

412    [10] A. Ben Abacha and D. Demner-Fushman. A question-entailment approach to question
413        answering. BMC bioinformatics, 20:1–23, 2019.

414    [11] L. Bertolazzi, D. Mazzaccara, F. Merlo, and R. Bernardi. ChatGPT’s information seeking
415         strategy: Insights from the 20-questions game.  In Proceedings of the 16th International
416        Natural Language Generation Conference, pages 153–162, 2023.

417    [12] G. M. Biancoﬁore, Y. Deldjoo, T. D. Noia, E. Di Sciascio, and F. Narducci. Interactive question
418        answering systems: Literature review. ACM Computing Surveys, 56(9):1–38, 2024.

419    [13] A. Bodrova, P. Xu, J. Varley, A. Zeng, A. Majumdar, D. Sadigh, S. Singh, F. Xia, N. Brown,
420        L. Takayama, A. Z. Ren, A. Dixit, Z. Xu, and S. Tu. Robots that ask for help: Uncertainty
421        alignment for large language model planners. ArXiv, abs/2307.01928, 2023. URL https:
422       //api.semanticscholar.org/CorpusId:259342058.

423    [14] A. Chattopadhyay, S. Slocum, B. D. Haeffele, R. Vidal, and D. Geman.  Interpretable by
424         design: Learning predictors by composing interpretable queries. IEEE Transactions on Pattern
425         Analysis and Machine Intelligence, 2022.

426    [15] A. Chattopadhyay, K. H. R. Chan, B. D. Haeffele, D. Geman, and R. Vidal.  Variational
427         information pursuit for interpretable predictions. arXiv preprint arXiv:2302.02876, 2023.

428    [16] A. Chattopadhyay, R. Pilgrim, and R. Vidal. Information maximization perspective of orthog-
429        onal matching pursuit with applications to explainable ai. Advances in Neural Information
430        Processing Systems, 36:2956–2990, 2023.

431    [17] A. Chattopadhyay, K. H. R. Chan, and R. Vidal. Bootstrapping variational information pursuit
432        with large language and vision models for interpretable image classiﬁcation. In The Twelfth
433         International Conference on Learning Representations, 2024.

                                           10

434    [18]  J. Chen and J. Mueller. Quantifying uncertainty in answers from any language model and
435        enhancing their trustworthiness. In Annual Meeting of the Association for Computational
436         Linguistics, 2023. URL https://api.semanticscholar.org/CorpusId:263611057.

437    [19] Y. Chen, S. H. Hassani, A. Karbasi, and A. Krause. Sequential information maximization:
438      When is greedy near-optimal? In Conference on Learning Theory, pages 338–363. PMLR,
439        2015.

440    [20] Z. Chen, K. Zhou, B. Zhang, Z. Gong, W. X. Zhao, and J. rong Wen. Chatcot: Tool-augmented
441         chain-of-thought reasoning on chat-based large language models. ArXiv, abs/2305.14323,
442        2023. URL https://arxiv.org/pdf/2305.14323.pdf.

443    [21]  J. Cherian, I. Gibbs, and E. Candes. Large language model validity via enhanced conformal
444         prediction methods. In Advances in Neural Information Processing Systems, volume 37, pages
445       114812–114842, 2024.

446    [22]  J. J. Cherian, I. Gibbs, and E. Candès. Large language model validity via enhanced conformal
447         prediction methods. ArXiv, abs/2406.09714, 2024. URL https://api.semanticscholar.
448       org/CorpusId:270521658.

449    [23] V. Chernozhukov, K. Wuthrich, and Y. Zhu. Exact and robust conformal inference methods
450         for predictive machine learning with dependent data. In Proceedings of the 31st Conference
451      On Learning Theory, 2018.

452    [24] A. Comas, A. Chattopadhyay, F. Formosa, C. Liu, O. Camps, and R. Vidal.  Incode: In-
453         terpretable compressed descriptions for image generation. In The Thirteenth International
454        Conference on Learning Representations, 2025.

455    [25] A. H. Correia, F. V. Massoli, C. Louizos, and A. Behboodi. An information theoretic perspec-
456          tive on conformal prediction. arXiv preprint arXiv:2405.02140, 2024.

457    [26] C. Cortes, A. Mao, C. Mohri, M. Mohri, and Y. Zhong. Cardinality-aware set prediction and
458         top-k classiﬁcation. arXiv preprint arXiv:2407.07140, 2024.

459    [27]  I. C. Covert, W. Qiu, M. Lu, N. Y. Kim, N. J. White, and S.-I. Lee. Learning to maximize
460        mutual information for dynamic feature selection. In International Conference on Machine
461        Learning, pages 6424–6447. PMLR, 2023.

462    [28] S. Dasgupta. Analysis of a greedy active learning strategy. Advances in Neural Information
463        Processing Systems, 17, 2004.

464    [29] G. Detommaso, M. Bertran, R. Fogliato, and A. Roth. Multicalibration for conﬁdence scoring
465         in LLMs. arXiv preprint arXiv:2404.04689, 2024.

466    [30] G. S. Dhillon, G. Deligiannidis, and T. Rainforth. On the expected size of conformal prediction
467          sets. In International Conference on Artiﬁcial Intelligence and Statistics, pages 1549–1557.
468      PMLR, 2024.

469    [31] R. Dunn, L. Wasserman, and A. Ramdas.  Distribution-free prediction sets for two-layer
470         hierarchical models. Journal of the American Statistical Association, pages 1–12, 2022.

471    [32] B.-S. Einbinder, Y. Romano, M. Sesia, and Y. Zhou. Training uncertainty-aware classiﬁers
472        with conformalized deep learning. Advances in Neural Information Processing Systems, 2022.

473    [33] S. Feldman, L. Ringel, S. Bates, and Y. Romano. Achieving risk control in online learning
474          settings.  Trans. Mach. Learn. Res., 2023, 2022. URL https://arxiv.org/pdf/2205.
475       09095.pdf.

476    [34] O. F’eron, J. Josse, Y. Goude, M. Zaffran, and A. Dieuleveut. Adaptive conformal predictions
477         for time series.  In International Conference on Machine Learning, 2022. URL https:
478       //api.semanticscholar.org/CorpusId:246863519.

479    [35] D. Geman and B. Jedynak. An active testing model for tracking roads in satellite images.
480       IEEE Transactions on Pattern Analysis and Machine Intelligence, 18(1):1–14, 1996.

                                           11

481    [36]  J. Geng, F. Cai, Y. Wang, H. Koeppl, P. Nakov, and I. Gurevych. A survey of conﬁdence
482         estimation and calibration in large language models.  In North American Chapter of the
483         Association for Computational Linguistics: Human Language Technologies, pages 6577–6595,
484        2024.

485    [37]  I. Gibbs and  E. Candès.    Adaptive conformal  inference under  distribution  shift.
486        ArXiv, abs/2106.00170, 2021. URL https://api.semanticscholar.org/CorpusId:
487       235266057.

488    [38]  I. Gibbs and E. Candès. Conformal inference for online prediction with arbitrary distribution
489           shifts. J. Mach. Learn. Res., 25:162:1–162:36, 2022. URL https://api.semanticscholar.
490       org/CorpusId:251622480.

491    [39] A. Grattaﬁori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur,
492        A. Schelten, A. Vaughan, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783,
493        2024.

494    [40] L. Guan. A conformal test of linear models via permutation-augmented regressions. arXiv
495         preprint arXiv:2309.05482, 2023.

496    [41] L. Guan. Localized conformal prediction: A generalized inference framework for conformal
497         prediction. Biometrika, 110(1):33–50, 2023.

498    [42] L. Guan and R. Tibshirani. Prediction and outlier detection in classiﬁcation problems. Journal
499         of the Royal Statistical Society Series B: Statistical Methodology, 84(2):524–546, 2022.

500    [43] A. Holtzman, J. Buys, L. Du, M. Forbes, and Y. Choi. The curious case of neural text
501         degeneration. arXiv preprint arXiv:1904.09751, 2019.

502    [44] B. Hou, Y. Liu, K. Qian, J. Andreas, S. Chang, and Y. Zhang. Decomposing uncertainty for
503         large language models through input clariﬁcation ensembling. ArXiv, abs/2311.08718, 2023.
504     URL https://api.semanticscholar.org/CorpusId:265213190.

505    [45] Z. Hu, C. Liu, X. Feng, Y. Zhao, S.-K. Ng, A. T. Luu, J. He, P. W. Koh, and B. Hooi.
506         Uncertainty of Thoughts: Uncertainty-aware planning enhances information seeking in large
507        language models. arXiv preprint arXiv:2402.03271, 2024.

508    [46] Z. Huang, S. Rossi, R. Yuan, and T. Hannagan. From predictions to conﬁdence intervals: an
509         empirical study of conformal prediction methods for in-context learning. In unknown, 2025.
510     URL https://api.semanticscholar.org/CorpusId:277994329.

511    [47] E. Jahangiri, E. Yörük, R. Vidal, L. Younes, and D. Geman. Information Pursuit: A Bayesian
512        framework for sequential scene parsing. arXiv preprint arXiv:1701.02343, 2017.

513    [48] P. Jiang, J. Rayan, S. P. Dow, and H. Xia. Graphologue: Exploring large language model
514        responses with interactive diagrams. In Proceedings of the 36th Annual ACM Symposium on
515       User Interface Software and Technology, 2023.

516    [49] D. Jin, E. Pan, N. Oufattole, W.-H. Weng, H. Fang, and P. Szolovits. What disease does this
517         patient have. A Large-scale Open Domain Question Answering Dataset from Medical Exams.
518        arXiv [cs. CL], 2020.

519    [50] Q. Jin, B. Dhingra, Z. Liu, W. W. Cohen, and X. Lu. Pubmedqa: A dataset for biomedical
520         research question answering. arXiv preprint arXiv:1909.06146, 2019.

521    [51] S. Kadavath, T. Conerly, A. Askell, T. Henighan, D. Drain, E. Perez, N. Schiefer, Z. Hatﬁeld-
522        Dodds, N. DasSarma, E. Tran-Johnson, et al. Language models (mostly) know what they
523        know. arXiv preprint arXiv:2207.05221, 2022.

524    [52] R. Kaur, S. Jha, A. Roy, S. Park, E. Dobriban, O. Sokolsky, and I. Lee. iDECODe: In-
525         distribution equivariance for conformal out-of-distribution detection. In Proceedings of the
526       AAAI Conference on Artiﬁcial Intelligence, 2022.

                                           12

527    [53] R. Kaur, C. Samplawski, A. D. Cobb, A. Roy, B. Matejek, M. Acharya, D. Elenius, A. M.
528        Berenbeim, J. Pavlik, N. D. Bastian, and S. Jha. Addressing uncertainty in llms to enhance relia-
529           bility in generative ai. ArXiv, abs/2411.02381, 2024. URL https://api.semanticscholar.
530       org/CorpusId:273822044.
531    [54] S. Kiyani, G. J. Pappas, and H. Hassani. Length optimization in conformal prediction. In
532        Advances in Neural Information Processing Systems, volume 37, pages 99519–99563, 2024.

533    [55] C. Koch, C. Strassle, and L.-Y. Tan. Superconstant inapproximability of decision tree learning.
534        Proceedings of Machine Learning Research vol, 196:1–32, 2024.

535    [56] B. Kumar, C. Lu, G. Gupta, A. Palepu, D. Bellamy, R. Raskar, and A. Beam. Conformal
536         prediction with large language models for multi-choice question answering. arXiv preprint
537        arXiv:2305.18404, 2023.

538    [57] B. Kumar, C.-C. Lu, G. Gupta, A. Palepu, D. R. Bellamy, R. Raskar, and A. Beam.
539       Conformal prediction with large language models for multi-choice question answering.
540        ArXiv, abs/2305.18404, 2023. URL https://api.semanticscholar.org/CorpusId:
541       258967849.
542    [58] P. Laban, H. Hayashi, Y. Zhou, and J. Neville. Llms get lost in multi-turn conversation. arXiv
543         preprint arXiv:2505.06120, 2025.

544    [59] H. Laurent and R. L. Rivest.  Constructing optimal binary decision trees is np-complete.
545        Information processing letters, 5(1):15–17, 1976.

546    [60]  J. Lei and L. Wasserman. Distribution-free prediction bands for non-parametric regression.
547        Journal of the Royal Statistical Society: Series B (Statistical Methodology), 76(1):71–96, 2014.

548    [61]  J. Lei, J. Robins, and L. Wasserman. Distribution-free prediction sets. Journal of the American
549          Statistical Association, 108(501):278–287, 2013.

550    [62]  J. Lei, A. Rinaldo, and L. Wasserman. A conformal prediction approach to explore functional
551          data. Annals of Mathematics and Artiﬁcial Intelligence, 74(1):29–43, 2015.

552    [63]  J. Lei, M. G’Sell, A. Rinaldo, R. J. Tibshirani, and L. Wasserman. Distribution-free predictive
553         inference for regression. Journal of the American Statistical Association, 113(523):1094–1111,
554        2018.

555    [64] S. Li, X. Ji, E. Dobriban, O. Sokolsky, and I. Lee. PAC-Wrap: Semi-supervised pac anomaly
556         detection. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery
557       and Data Mining, 2022.

558    [65] S. Li, V. Balachandran, S. Feng, J. Ilgen, E. Pierson, P. W. W. Koh, and Y. Tsvetkov. MediQ:
559        Question-asking llms and a benchmark for reliable interactive clinical reasoning. Advances in
560        Neural Information Processing Systems, 37:28858–28888, 2024.

561    [66] Y. Li, X. Shen, X. Yao, X. Ding, Y. Miao, R. Krishnan, and R. Padman. Beyond single-turn: A
562         survey on multi-turn interactions with large language models. arXiv preprint arXiv:2504.04717,
563        2025.

564    [67] Z. Liang, Y. Zhou, and M. Sesia. Conformal inference is (almost) free for neural networks
565         trained with early stopping. In International Conference on Machine Learning, 2023.

566    [68] Z. Liang, M. Sesia, and W. Sun. Integrative conformal p-values for out-of-distribution testing
567        with labelled outliers. Journal of the Royal Statistical Society Series B: Statistical Methodology,
568        page qkad138, 01 2024.

569    [69] Z. Lin, S. Trivedi, and J. Sun. Generating with conﬁdence: Uncertainty quantiﬁcation for
570        black-box large language models.  Trans. Mach. Learn. Res., 2024, 2023. URL https:
571       //api.semanticscholar.org/CorpusId:258967487.
572    [70] C. Ling, X. Zhao, X. Zhang, W. Cheng, Y. Liu, Y. Sun, M. Oishi, T. Osaki, K. Matsuda,
573           J. Ji, et al. Uncertainty quantiﬁcation for in-context learning of large language models. arXiv
574         preprint arXiv:2402.10189, 2024.

                                           13

575    [71] O. Liu, D. Fu, D. Yogatama, and W. Neiswanger. DeLLMa: Decision making under uncertainty
576        with large language models. arXiv preprint arXiv:2402.02392, 2024.

577    [72] S. Luttrell. The use of transinformation in the design of data sampling schemes for inverse
578        problems. Inverse Problems, 1(3):199, 1985.

579    [73] Q. Lyu, K. Shridhar, C. Malaviya, L. Zhang, Y. Elazar, N. Tandon, M. Apidianaki, M. Sachan,
580       and C. Callison-Burch.  Calibrating large language models with sample consistency.  In
581        Proceedings of the AAAI Conference on Artiﬁcial Intelligence, volume 39, pages 19260–19268,
582        2025.

583    [74] D. J. MacKay. Information theory, inference and learning algorithms. Cambridge university
584          press, 2003.

585    [75] C. Mohri and T. Hashimoto. Language models with conformal factuality guarantees.  In
586         International Conference on Machine Learning, pages 36029–36047. PMLR, 2024.

587    [76] C. Mohri and T. Hashimoto.  Language models with conformal factuality guarantees.
588        ArXiv, abs/2402.10978, 2024. URL https://api.semanticscholar.org/CorpusId:
589       267750963.

590    [77] U. K. Müller and M. W. Watson. Measuring uncertainty about long-run predictions. Review of
591       Economic Studies, 83(4):1711–1740, 2016.

592    [78] H. Naveed, A. U. Khan, S. Qiu, M. Saqib, S. Anwar, M. Usman, N. Akhtar, N. Barnes,
593       and A. Mian. A comprehensive overview of large language models.  arXiv preprint
594        arXiv:2307.06435, 2023.

595    [79] D. Noever and F. McKee. Chatbots as problem solvers: Playing twenty questions with role
596          reversals. arXiv preprint arXiv:2301.01743, 2023.

597    [80] A. Pal, L. K. Umapathi, and M. Sankarasubbu. Medmcqa: A large-scale multi-subject multi-
598        choice dataset for medical domain question answering. In Conference on health, inference,
599       and learning, pages 248–260. PMLR, 2022.

600    [81] A. Panchenko, E. Fadeeva, M. Panov, D. Vasilev, T. Baldwin, A. Tsvigun, K. Fedyanin,
601       A. Shelmanov, E. Goncharova, S. Petrakov, A. Vazhentsev, and R. Vashurin. Lm-polygraph:
602        Uncertainty estimation for language models. ArXiv, abs/2311.07383, 2023. URL https:
603       //api.semanticscholar.org/CorpusId:265149591.

604    [82] J.-C. Pang, H.-B. Fan, P. Wang, J.-H. Xiao, N. Tang, S.-H. Yang, C. Jia, S.-J. Huang, and Y. Yu.
605       Empowering language models with active inquiry for deeper understanding. arXiv preprint
606        arXiv:2402.03719, 2024.

607    [83] H. Papadopoulos, K. Proedrou, V. Vovk, and A. Gammerman. Inductive conﬁdence machines
608          for regression. In European Conference on Machine Learning, pages 345–356. Springer, 2002.

609    [84] S. Park, O. Bastani, N. Matni, and I. Lee. PAC conﬁdence sets for deep neural networks via
610         calibrated prediction. In International Conference on Learning Representations, 2020.

611    [85] S. Park, E. Dobriban, I. Lee, and O. Bastani. PAC prediction sets under covariate shift. In
612         International Conference on Learning Representations, 2022.

613    [86] S. Park, E. Dobriban, I. Lee, and O. Bastani. PAC prediction sets for meta-learning.  In
614        Advances in Neural Information Processing Systems, 2022.

615    [87] H. Qiu, E. Dobriban, and E. Tchetgen Tchetgen. Prediction sets adaptive to unknown covariate
616           shift. Journal of the Royal Statistical Society Series B: Statistical Methodology, page qkad069,
617       07 2023.

618    [88] V. Quach, A. Fisch, T. Schuster, A. Yala, J. Sohn, T. Jaakkola, and R. Barzilay. Conformal
619        language modeling. ArXiv, abs/2306.10193, 2023. URL https://api.semanticscholar.
620       org/CorpusId:259203582.

                                           14

621    [89] V. Quach, A. Fisch, T. Schuster, A. Yala, J. H. Sohn, T. S. Jaakkola, and R. Barzilay. Conformal
622        language modeling. In The Twelfth International Conference on Learning Representations,
623        2024.

624    [90] H. Rajabzadeh, S. Wang, H. J. Kwon, and B. Liu. Multimodal multi-hop question answering
625        through a conversation between tools and efﬁciently ﬁnetuned large language models. arXiv
626         preprint arXiv:2309.08922, 2023.

627    [91] A. Z. Ren, A. Dixit, A. Bodrova, S. Singh, S. Tu, N. Brown, P. Xu, L. Takayama, F. Xia,
628            J. Varley, Z. Xu, D. Sadigh, A. Zeng, and A. Majumdar. Robots that ask for help: Uncertainty
629        alignment for large language model planners. ArXiv, abs/2307.01928, 2023. URL https:
630       //arxiv.org/pdf/2307.01928.pdf.

631    [92] A. Z. Ren, J. Clark, A. Dixit, M. Itkina, A. Majumdar, and D. Sadigh. Explore until conﬁdent:
632        Efﬁcient exploration for embodied question answering. arXiv preprint arXiv:2403.15941,
633        2024.

634    [93]  J. Robinson and D. Wingate. Leveraging large language models for multiple choice question
635        answering. In International Conference on Learning Representations, 2023.

636    [94] Y. Romano, M. Sesia, and E. Candes. Classiﬁcation with valid and adaptive coverage. Advances
637         in Neural Information Processing Systems, 2020.

638    [95] M. Sadinle, J. Lei, and L. Wasserman. Least ambiguous set-valued classiﬁers with bounded
639         error levels. Journal of the American Statistical Association, 114(525):223–234, 2019.

640    [96] C. Saunders, A. Gammerman, and V. Vovk. Transduction with conﬁdence and credibility. In
641         Sixteenth International Joint Conference on Artiﬁcial Intelligence, pages 722–726, 1999.

642    [97] H. Scheffe and J. W. Tukey. Non-parametric estimation. I. Validation of order statistics. The
643        Annals of Mathematical Statistics, 16(2):187–192, 1945.

644    [98] T. Schuster, A. Fisch, J. Gupta, M. Dehghani, D. Bahri, V. Q. Tran, Y. Tay, and D. Metzler.
645        Conﬁdent adaptive language modeling. ArXiv, abs/2207.07061, 2022. URL https://arxiv.
646       org/pdf/2207.07061.pdf.

647    [99] M. Sesia, S. Favaro, and E. Dobriban. Conformal frequency estimation using discrete sketched
648         data with coverage for distinct queries. Journal of Machine Learning Research, 24(348):1–80,
649        2023.

650  [100] H. Shahrokhi, D. Roy, Y. Yan, V. Arnaoudova, and J. R. Doppa. Conformal prediction sets for
651        deep generative models via reduction to conformal regression. ArXiv, abs/2503.10512, 2025.
652     URL https://api.semanticscholar.org/CorpusId:276961510.

653  [101] C. E. Shannon. A mathematical theory of communication. The Bell system technical journal,
654        27(3):379–423, 1948.

655  [102] C. E. Shannon. A mathematical theory of communication. ACM SIGMOBILE mobile comput-
656         ing and communications review, 5(1):3–55, 2001.

657  [103] M. Shen, S. Das, K. Greenewald, P. Sattigeri, G. Wornell, and S. Ghosh. Thermometer:
658       Towards universal calibration for large language models. arXiv preprint arXiv:2403.08819,
659        2024.

660  [104] W. Si, S. Park, I. Lee, E. Dobriban, and O. Bastani. PAC prediction sets under label shift. In
661       The Twelfth International Conference on Learning Representations, 2024.

662  [105] K. Singhal, T. Tu, J. Gottweis, R. Sayres, E. Wulczyn, M. Amin, L. Hou, K. Clark, S. R. Pfohl,
663       H. Cole-Lewis, et al. Toward expert-level medical question answering with large language
664        models. Nature Medicine, pages 1–8, 2025.

665  [106]  J. Song, Z. Wang, H. Chen, Y. Huang, and L. Ma. Look before you leap: An exploratory study
666         of uncertainty measurement for large language models. ArXiv, abs/2307.10236, 2023. URL
667       https://api.semanticscholar.org/CorpusId:259991714.

                                           15

668  [107] C. Spiess, D. Gros, K. S. Pai, M. Pradel, M. R. I. Rabin, A. Alipour, S. Jha, P. Devanbu, and
669         T. Ahmed. Calibration and correctness of language models for code. In IEEE/ACM 47th
670         International Conference on Software Engineering, pages 495–507. IEEE Computer Society,
671        2025.

672  [108]  J. Su, J. Luo, H. Wang, and L. Cheng. Api is enough: Conformal prediction for large language
673       models without logit-access.  In Conference on Empirical Methods in Natural Language
674         Processing, 2024. URL https://api.semanticscholar.org/CorpusId:268230867.

675  [109] H. Suri, Q. Zhang, W. Huo, Y. Liu, and C. Guan. Mediaqa: A question answering dataset on
676        medical dialogues. arXiv preprint arXiv:2108.08074, 2021.

677  [110]  J. H. Szabadváry. Beyond conformal predictors: Adaptive conformal inference with conﬁdence
678         predictors. arXiv preprint arXiv:2409.15548, 2024.

679  [111] S. Tayebati, D. Kumar, N. Darabi, D. Jayasuriya, R. Krishnan, and A. R. Trivedi. Learning
680        conformal abstention policies for adaptive risk management in large language and vision-
681        language models. ArXiv, abs/2502.06884, 2025. URL https://arxiv.org/pdf/2502.
682       06884.pdf.

683  [112] K. Tian, E. Mitchell, A. Zhou, A. Sharma, R. Rafailov, H. Yao, C. Finn, and C. D. Manning.
684         Just ask for calibration: Strategies for eliciting calibrated conﬁdence scores from language
685        models ﬁne-tuned with human feedback. arXiv preprint arXiv:2305.14975, 2023.

686  [113]  J. W. Tukey.  Non-parametric estimation II. Statistically equivalent blocks and tolerance
687         regions–the continuous case. The Annals of Mathematical Statistics, 18(4):529–539, 1947.

688  [114]  J. W. Tukey. Nonparametric estimation, III. Statistically equivalent blocks and multivariate
689         tolerance regions–the discontinuous case. The Annals of Mathematical Statistics, 19(1):30–39,
690        1948.

691  [115] D. T. Ulmer, M. Gubri, H. Lee, S. Yun, and S. J. Oh. Calibrating large language models using
692          their generations only. In Proceedings of the 62nd Annual Meeting of the Association for
693        Computational Linguistics, pages 15440–15459. Association for Computational Linguistics,
694        2024.

695  [116] V. Vovk. Conditional validity of inductive conformal predictors. In Asian Conference on
696       Machine Learning, pages 475–490. PMLR, 2012.

697  [117] V. Vovk, A. Gammerman, and C. Saunders. Machine-learning applications of algorithmic
698        randomness. In International Conference on Machine Learning, 1999.

699  [118] V. Vovk, A. Gammerman, and G. Shafer. Algorithmic Learning in a Random World. Springer
700        Science & Business Media, 2005.

701  [119] A. Wald. An extension of Wilks’ method for setting tolerance limits. The Annals of Mathemat-
702          ical Statistics, 14(1):45–55, 1943.

703  [120] B. Wang, X. Yue, and H. Sun. Can ChatGPT defend its belief in truth? evaluating LLM
704        reasoning via debate. In Conference on Empirical Methods in Natural Language Processing,
705        2023.

706  [121] K. Wang, F. Duan, S. Wang, P. Li, Y. Xian, C. Yin, W. Rong, and Z. Xiong. Knowledge-Driven
707       CoT: Exploring faithful reasoning in LLMs for knowledge-intensive question answering. arXiv
708         preprint arXiv:2308.13259, 2023.

709  [122] P. Wang, L. Li, L. Chen, Z. Cai, D. Zhu, B. Lin, Y. Cao, Q. Liu, T. Liu, and Z. Sui. Large
710        language models are not fair evaluators. arXiv preprint arXiv:2305.17926, 2023.

711  [123] Q. Wang, T. Geng, Z. Wang, T. Wang, B. Fu, and F. Zheng.  Sample then identify: A
712         general framework for risk control and assessment in multimodal large language models.
713        ArXiv, abs/2410.08174, 2024. URL https://api.semanticscholar.org/CorpusId:
714       273233940.

                                           16

715  [124] X. Wang and R. J. Hyndman. Online conformal inference for multi-step time series forecasting.
716        arXiv preprint arXiv:2410.13115, 2024.

717  [125] Z. Wang, Q. Wang, Y. Zhang, T. Chen, X. Zhu, X. Shi, and K. Xu.  Sconu: Selective
718        conformal uncertainty in large language models. In unknown, 2025. URL https://api.
719       semanticscholar.org/CorpusId:277954950.

720  [126]  J. Wei, Y. Tay, R. Bommasani, C. Raffel, B. Zoph, S. Borgeaud, D. Yogatama, M. Bosma,
721       D. Zhou, D. Metzler, et al. Emergent abilities of large language models. arXiv preprint
722        arXiv:2206.07682, 2022.

723  [127] S. S. Wilks.  Determination of sample sizes for setting tolerance limits.  The Annals of
724        Mathematical Statistics, 12(1):91–96, 1941.

725  [128] S. Wu, X. Shen, and R. Xia. A new dialogue response generation agent for large language
726        models by asking questions to detect user’s intentions. arXiv preprint arXiv:2310.03293, 2023.

727  [129] H. Xi, K. Liu, H. Zeng, W. Sun, and H. Wei. Robust online conformal prediction under
728        uniform label noise. ArXiv, abs/2501.18363, 2025. URL https://api.semanticscholar.
729       org/CorpusId:275994111.

730  [130] Y. Xian, C. H. Lampert, B. Schiele, and Z. Akata. Zero-shot learning—a comprehensive
731         evaluation of the good, the bad and the ugly. IEEE transactions on pattern analysis and
732        machine intelligence, 41(9):2251–2265, 2018.

733  [131] G. Xiong, J. Bao, and W. Zhao. Interactive-KBQA: Multi-turn interactions for knowledge
734        base question answering with large language models. In Annual Meeting of the Association
735         for Computational Linguistics, 2024.

736  [132] Z. Yang, P. Qi, S. Zhang, Y. Bengio, W. W. Cohen, R. Salakhutdinov, and C. D. Manning.
737       HotpotQA: A dataset for diverse, explainable multi-hop question answering. arXiv preprint
738        arXiv:1809.09600, 2018.

739  [133] S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao.  ReAct: Syner-
740         gizing reasoning and acting in language models. In International Conference on Learning
741         Representations, 2023.

742  [134] F. Ye, M. Yang, J. Pang, L. Wang, D. Wong, E. Yilmaz, S. Shi, and Z. Tu. Benchmarking
743      LLMs via uncertainty quantiﬁcation. In Advances in Neural Information Processing Systems,
744       volume 37, pages 15356–15385, 2024.

745  [135] F. Ye, M. Yang, J. Pang, L. Wang, D. F. Wong, E. Yilmaz, S. Shi, and Z. Tu. Benchmarking
746        llms via uncertainty quantiﬁcation. ArXiv, abs/2401.12794, 2024. URL https://arxiv.
747       org/pdf/2401.12794.pdf.

748  [136] M. Zhang, M. Huang, R. Shi, L. Guo, C. Peng, P. Yan, Y. Zhou, and X. Qiu. Calibrating the
749        conﬁdence of large language models by eliciting ﬁdelity. In Conference on Empirical Methods
750         in Natural Language Processing, pages 2959–2979, 2024.

751  [137] Y. Zhang, J. Lu, and N. Jaitly. Probing the multi-turn planning capabilities of LLMs via 20
752         question games. arXiv preprint arXiv:2310.01468, 2023.

753  [138] T. Zhao, E. Wallace, S. Feng, D. Klein, and S. Singh. Calibrate before use: Improving few-shot
754        performance of language models. In International Conference on Machine Learning, pages
755       12697–12706, 2021.

756  [139] A. X. Zheng, I. Rish, and A. Beygelzimer. Efﬁcient test selection in active diagnosis via
757        entropy approximation. arXiv preprint arXiv:1207.1418, 2012.

758  [140] Z. Zhi, C. Feng, A. Daneshmend, M. Orlu, A. Demosthenous, L. Yin, D. Li, Z. Liu, and
759       M. Rodrigues. Seeing and reasoning with conﬁdence: Supercharging multimodal llms with an
760         uncertainty-aware agentic framework. ArXiv, abs/2503.08308, 2025. URL https://arxiv.
761       org/pdf/2503.08308.pdf.

                                           17

762  [141] H. Zhou, X. Wan, L. Proleev, D. Mincu, J. Chen, K. A. Heller, and S. Roy. Batch calibra-
763          tion: Rethinking calibration for in-context learning and prompt engineering. In The Twelfth
764         International Conference on Learning Representations, 2024.

765  [142] C. Zhu, B. Xu, Q. Wang, Y. Zhang, and Z. Mao. On the calibration of large language models
766        and alignment. In Conference on Empirical Methods in Natural Language Processing, 2023.





                                           18

767                         Appendix

768 A  Outline for the Appendix

769           • Appendix §B is the Related Work section.
770           • Appendix §C discusses the limitations of this work.
771           • Appendix §D discusses broader impacts.
772           • Appendix §E provides additional results, which include results for other models, etc.
773           • Appendix §F provides further ablation studies.
774           • Appendix §G provides implementation details including hyperparameters.
775           • Appendix §H provides the prompts used for generating responses with LLMs.
776           • Appendix §I is the pseudocode for the different algorithms including IP, C-IP and DP.
777           • Appendix §J provides additional examples of query-answer chains.
778           • Appendix §K provides examples of sampled queries in open query set settings.

779 B  Related Work

780  B.1  Large Language Models and Interactive Settings

781  Information-Seeking Environments of LLMs. In information seeking environments, LLM agents
782  seek information by constructing well-design prompts and designing proper rewards with reinforce-
783  ment learning (RL) to encourage proper information-seeking behavior. Prompting-based meth-
784  ods [1, 82, 120, 120, 121, 128] typically involve LLM agents interacting and solving a task together.
785  Advanced techniques include building graphs [48], using tools such as APIs and databases [90, 131],
786  and leveraging Chain-of-Thought (CoT) methods [20, 45, 70, 121] to ensure interaction is valid and
787  improve performance. However, they do not explicit attempt to minimize the average number of
788   interactions needed. On the other hand, RL-based methods such as ReAct and DeLLMa [71, 133]
789  usually involves designing a good reward or utility function (can be non-entropy-based) that balances
790  between exploration and exploitation, which our method can be classiﬁed in the pure exploitation
791  regime. By and large, prompting-based methods and RL-based methods consider a different strat-
792  egy that is not as explicit as our work here, and are not always plug-and-play to the interactive
793  question-answering setting.
794  Interactive Medical Question Answering Setting. As our motivation (see Fig. 1), interactive
795  medical question answering is one potentially impactful application of our work. While there
796  are many existing benchmarks of medical question answering on LLMs such as MedQA [49],
797  MedQuAD [10], MedMCQA [80], PubMedQA [50], they mostly focus on single-turn one-input-
798  one-response type interaction. Instead, we focus on a more recently trending setting of interactive
799  medical question answering and diagnosis. Datasets in this setting are still rare, with the two being
800  the WMeDiaQA [109], which is a chinese interactive dataset, and the MediQ [65]. Importantly
801  furthermore, it has been shown that LLMs in interactive human-LLM medical/clinical settings are
802  subpar: as shown in Bean et al. [9], they perform nearly 30% worse than LLMs acting alone.
803   Similarly, Li et al. [65] has also shown that directly applying LLMs for interactive settings perform
804  worse without additional guidance to the iterative process.
805  To summarize, the research question of why LLMs in a multi-turn, interactive environments perform
806  worse than single-turn use-cases remains active and highly relevant in today’s use-cases [58, 65]. Our
807  work seeks to provide some answer via the lens of information gain.

808  B.2  Uncertainty Quantiﬁcation

809  Predictive Inference and Conformal Prediction. Our proposed formulation uses entropy and
810  mutual information, which are fundamental measurements of uncertainty that dates back to Shannon’s
811  Information Theory [74, 101, 102] and predictive inference [97, 113, 114, 119, 127]. Amongst exist-
812  ing methods for predictive inference, conformal prediction has gained popularity due to its ﬂexibility
813   for constructing prediction intervals with a marginal coverage guarantee under the exchangeability

                                           19

814  of data points. While distribution-free inference and the conformal prediction framework have
815  been extensively studied in recent works, with many going beyond standard assumptions [see, e.g.,
816   5, 8, 23, 31, 32, 40–42, 52, 60–64, 67, 68, 83–87, 94, 96, 99, 104, 116–118], few has formalized the
817  framework in the interactive and iterative setting. Arguably, the most similar setting is the online or
818  adaptive setting [33, 34, 37, 38, 110, 124, 129], where distribution shift exists and the exchangeability
819  assumption no longer holds. This line of research is different from our work in two major ways:
820  1) they focus on an online setting where data points are sequentially provided, such as time series,
821  with assumptions such as afﬁne transformations for the distribution shifts. In contrast, our work
822  focuses on an interactive question answering setting that depends on multiple factors, such as the
823  query set Q (open and closed setting), the query answers q1:k(xobs), and the target distribution Y ;824  2) they focus on providing tighter risk control in an online setting, whereas our work focuses on
825  how to use uncertainty measured from prediction sets to drive decision making. While we agree
826  adaptive conformal prediction and sequential information gain via conformal prediction draw some
827  resemblances, we reserve the research of their precise relationship in a future work.
828  Uncertainty Quantiﬁcation for LLMs. Methods for quantifying uncertainty in LLMs largely
829  revolve around controlling the quality and ensuring correctness of LLM generations, either via
830  minimizing entropy with a constructed distribution [13, 18, 44, 69, 81, 106, 135] or leveraging
831  conformal prediction [22, 46, 53, 57, 76, 88, 91, 98, 100, 108, 111, 123, 125, 135, 140]. Here we
832  highlight the ones that are highly relevant to our method: Ling et al. [70], which considers the
833  problem of uncertainty quantiﬁcation in the context of in-context learning. Similar to our IP baseline,
834    it also measures uncertainty by computing the entropy of distributions estimated from the token
835   distribution. On the other hand, Kumar et al. [56] applies conformal prediction to question answering
836  with multiple choices. Their method also extracts probability of each choice by obtaining the logits
837  of each answer token, but their setting is single-turn rather than multi-turn. As aforementioned, there
838   exist multiple methods to measure uncertainty in LLMs, and we reserve how different choices might
839   affect the interactive question-answering process in this paper’s setting for future work.
840  Uncertainty Quantiﬁcation in Interactive Environments. The two closely related works are
841  Uncertainty of Thought (UoT) [45] and EQA work by Ren et al. [92]. UoT is in the setting of efﬁcient
842  reasoning for LLMs, in which the method formulates its exploration as a tree. At each iteration, UoT
843  explores multiple branches of solutions with up to a depth at three, then evaluates the accumulated
844  information gain at the leaf node, ultimately choosing the leaf with the highest information gain.
845  Compared to C-IP, UoT considers only binary query-answers, considers accumulated rewards, and
846  computes entropy directly, whereas C-IP considers free-text query answers, immediate rewards at
847  each iteration, and utilizes calibrated information. On the other hand, Ren et al. [92] is positioned
848  the setting of robotics, where the Vision-Language Model (VLM) agent has to answer a question by
849  exploring different parts of the room. While this work also uses conformal inference and prediction
850   set size to estimate conﬁdence, the connection to entropy was not presented. It also differs from our
851  language-domain setting by using a custom, domain-speciﬁc score function called “relevance” rather
852  than the probability score as in the case of C-IP.

853  B.3  Sequential Information Gain via Information Pursuit

854  Previous Iterations of IP. Information Pursuit framework was ﬁrst proposed by Jahangiri et al. [47]
855  as an active-testing algorithm for scene parsing. Later learning-based approaches, such as generative
856  approach [14] and variational approaches [15, 17, 24], require having access to the data distribution
857  and learning a model to estimate the posterior distribution. Our work differs from all of the above in
858  multiple aspects: 1) learning-based approaches of IP largely focus on computer vision tasks such
859  as image classiﬁcation and image generation, whereas our work focuses on the language domain;
860  2) their setting often provides sufﬁcient samples that allows for a good estimation of the posterior
861   distribution P(Y  | Hk), which enables efﬁcient implementation with faster and scalable inference862  and make it applicable to large-scale tasks. In contrast, LLMs may not provide good estimates of
863  the posterior distribution because they are pretrained models; 3) IP has mostly been written as an
864   interpretability framework rather than a framework for interactive guidance. It’s unclear yet how IP
865  will perform in settings where multiple off-the-shelf models are involved; 4) query set in previous
866   iterations of IP is always a pre-determined ﬁxed set, whereas our work explores explores both the
867  closed setting and an open generation setting where queries are obtained from LLMs iteratively;
868  and 5) query answers in previous iterations of IP are either concept-based or raw features such as
869   pixel-values. All the reasons above provide strong motivation to our current work.

                                           20

870  Efﬁcient Sampling. The challenge of efﬁciently obtaining samples for estimating mutual information
871  often arises in IP. The generative approach [14] learns a joint distribution of P(Q(X), Y ), then uses
872  Langevin Dynamics to compute the conditional distribution. Alternative, V-IP [15], the current
873   state-of-the-art implementation of IP, learns a query selection function g parameterized by a neural
874  network g✓, which also requires efﬁcient sampling of random histories. In this work, our uniform
875  parameterization is inspired from V-IP, whereas our sampling via LLM prompting provides a new
876  domain-speciﬁc way to sample query-answer chains.

877 C  Limitations

878  Our work explores the areas of using LLMs interactively and using information gain to obtain
879   further information. While efﬁcient, it still requires sampling in order to estimate quantities such
880  as conditional entropy and prediction sets. One potential exploration is to ﬁnd ways to estimate
881   posteriors via a single pass, for example, via tractable approximations. Moreover, the success of our
882  method also relies on LLMs that can follow instructions well, which today’s LLMs are still not fully
883   reliable yet and instruction-following in general is still an active area of research. Furthermore, as
884   stated in our Section 6, we are not fully leveraging the potential of conformal prediction as we are
885  only using it as a measure of uncertainty but not using it as means to control risk and evaluate the
886  correctness of the overall query-answer chains. We reserve these interesting directions for future
887  work.

888 D  Broader Impacts

889  Our work studies the setting of using LLMs interactively, where information is not provided all at once
890  but sequentially depending on the previous responses of LLMs. While currently understudied, this
891  research direction aligns closely with how human-human or human-LLM behaves in the real world,
892  and potentially describes the predominant way of how human would use LLMs as the capabilities of
893  LLMs grows. Hence, it is crucial to understand the behavior through careful mathematical formulation
894  and experimental designs. We argue that the formulation in this work can serve as the foundational
895  ground work for further analysis when interactively using LLMs. Our empirical study with interactive
896  medical question answering also demonstrates potential applications of our method in real-world
897  medical settings.





                                           21

898 E  Additional Results

899  E.1  20Q

900  The predictive performance of 20Q on two additional models (Qwen2.5-7B [7] and Phi-3-small [2])
901  are shown in Figure 6 and Figure 7, respectively. Moreover, we visualize the different thresholds
902  obtained from split conformal prediction in Figure 8, with thresholds for each model in each row.
903 We will discuss the performance of C-IP with respect to the thresholds obtained together, as they
904  demonstrate a picture of when C-IP would be successful and unsuccessful in guiding LLMs.





            (a) Qopen, Afree-text          (b) Qopen, Abinary          (c) Qclosed, Afree-text         (d) Qclosed, Abinary
                   Figure 6: Predictive Performance of 20Q with Qwen-2.5-7B model.





            (a) Qopen, Afree-text          (b) Qopen, Abinary          (c) Qclosed, Afree-text         (d) Qclosed, Abinary
                    Figure 7: Predictive Performance of 20Q with Phi-3-small model.

905  Successful Cases of C-IP. We ﬁrst discuss the setting of 20Q with closed query set Qclosed. It is clear906   that for all three models (including Llama-3.1-8B from Figure 3), C-IP outperforms IP and random
907  query selection, where it is able to achieve a higher accuracy at every iteration. One sign of this
908  success can be attributed to the fact that our empirical marginal coverage guarantee follows closely to
909  the desired guarantee at each iteration.
910  Alternatively, one can attribute this success by looking at the thresholds obtained through split
911  conformal prediction from Figure 8. In the closed query set setting (right two columns), we observe a
912  progressive increase in the thresholds also as the number of iterations increase. This matches with
913  our intuition: in the ﬁrst few iterations, the model is not conﬁdent about its prediction, hence the
914  threshold ⌧remains small, and a large number of classes y would be in the prediction set. As the
915  number of iterations increase, the predictor (on average relative to the calibration set) becomes more
916  conﬁdent, hence the threshold ⌧increases.
917  Unsuccessful Cases of C-IP. We now turn to the unsuccessful cases of C-IP, which largely pertains
918  the open query set setting for Qwen2.5-7B and Phi-3-small. We observe that C-IP in fact does not

                                           22

        (a) Llama-3.1-8B, Qopen, Abinary  (b)                                                                   (c) Llama-3.1-8B, Qclosed, Abinary  (d)                                                  Llama-3.1-8B, Qopen, Afree-text                                                                                                                          Llama-3.1-8B, Qclosed, Afree-text





         (e) Qwen2.5-7B, Qopen, Abinary    (f)                                                                (g) Qwen2.5-7B, Qclosed, Abinary  (h)                                               Qwen2.5-7B, Qopen, Afree-text                                                                                                                 Qwen2.5-7B, Qclosed, Afree-text





           (i) Phi-3-small, Qopen, Abinary      (j)                                                                (k) Phi-3-small, Qclosed, Abinary    (l)                                                        Phi-3-small, Qopen, Afree-text                                                                                                                                       Phi-3-small, Qclosed, Afree-text



     Figure 8: Thresholds obtained through split conformal prediction for 20Q. The legend below shows
     different colors Each color corresponds to different choices of target coverage ↵.


919  outperform the DP method. To understand why, we argue it from the perspective of meaningful
920   calibration.
921  Recall that in the open query set setting, C-IP is calibrated on query-answer chains obtained from
922  DP. Turning to Figure 6 (a, b) and Figure 7 (a, b), we observe that the empirical coverage is below
923  the desired coverage a majority of the iterations, a sharp contrast to successful cases of C-IP where
924  empirical and desired coverage is mostly coincides. To explain the misalignment between the
925  empirical coverage and desired coverage, we can also infer from Figure 8, where we observe sudden
926  jumsp in the thresholds in the open query set setting for Qwen2.5-7B and Phi-3-small. From our
927   results, we observe the following: Given Qwen2.5-7B and Phi-3-small models are relatively strong
928  models and our task is relatively simple, it is often the case where the label is guessed correctly within
929  a few iteration. Once the correct prediction is made, it becomes part of the history Hk (e.g. “Is the930  animal a dolphin? Yes.”) and any new query no longer provides any meaningful information gain.
931  This ultimately leads to an over-conﬁdent prediction for every data point, yielding an uninformative
932   threshold. As a result, every prediction now requires a very high probability (near 1) to be an element
933   in the prediction set. Consequently, the prediction sets cannot quantify uncertainty in a meaningful
934  way, leading to suboptimal results.
935  While there exist cases where C-IP does not outperform other methods, we argue it is more inter-
936   pretable than IP in that one can observe its failure modes from the thresholds obtained and empirical
937  coverage. As discussed in our Future Work (Section §6) and Limitations (Appendix §C), this direction
938  of obtaining the proper conformal coverage guarantee over distributions of natural language deserves
939   further study, and we reserve this for future work.





                                           23

940  Additional Comparisons with UoT. We provide the full comparison with UoT for Llama-3.1-8B in
941  Table 2. Focusing on IP and C-IP, we can see that C-IP is able to outperform IP in all four settings,
942  which aligns with our previous results regarding the predictive performance. Comparing C-IP with
943  UoT, C-IP is able to outperform UoT in free-text query answers, but not in closed binary query answer
944   setting. This can be explained by the design of the respective methods: C-IP relies on immediate
945  reward (information gain) whereas UoT looks ahead, accumulates and propagates rewards up to the
946   certain depth before selecting the next query.
947  As discussed previously in Section §E.1, while having binary query answers allow UoT to look
948  forward and accumulate rewards (akin to a beam search), free-text query answers provide a much
949   larger marginal gain over binary query answers and is a more realistic setting to consider.

    Table 2: Full Comparison of C-IP with UoT reasoning, averaged across 5 runs with shaded area as
     standard deviation.
      Method       Query Set Q  Query Answers A    Avg. Len.    Avg. Success Len.   Success Rate
     UoT               open             binary        13.57 ± 1.69      8.75 ± 0.82       0.57 ± 0.13
       IP                 open             binary        11.40 ± 0.78     10.48 ± 0.98      0.31 ± 0.04
       IP                 open              free-text       10.04 ± 0.45      9.66 ± 0.68       0.65 ± 0.18
       IP                  closed            binary        10.74 ± 0.59     10.98 ± 0.86      0.29 ± 0.11
       IP                  closed             free-text       13.81 ± 0.16     13.73 ± 0.24      0.71 ± 0.08
       C-IP (↵= 0.1)      open             binary        11.87 ± 0.83     12.12 ± 0.26      0.37 ± 0.11
       C-IP (↵= 0.1)      open              free-text       10.58 ± 0.58     10.45 ± 0.63      0.83 ± 0.05
       C-IP (↵= 0.1)      closed            binary        11.26 ± 0.84     10.58 ± 0.61      0.29 ± 0.04
       C-IP (↵= 0.1)      closed             free-text        8.87 ± 0.31      8.24 ± 0.51       0.83 ± 0.07





                                           24

950  E.2  MediQ

951  The thresholds ⌧obtained through split conformal prediction is shown in Figure 9. Similar to our
952  observations in the 20Q case, we observe that a useful and successful case of C-IP can be attributed
     to having good calibration and ﬁnding meaningful thresholds.





               (a) Internal Medicine                   (b) Pediatrics                        (c) Neurology



     Figure 9: Thresholds obtained through split conformal prediction for MediQ. The legend below
    shows different colors Each color corresponds to different choices of target coverage ↵.

953





                                           25

954 F  Ablation Studies

955 We compare predictive performance of 20Q (Figure 10) and MediQ (Figure 11). In nearly all cases,
956  we observe only minor differences between different levels of ↵, which indicates C-IP is fairly robust
957  with the appropriate choices of ↵.

958  F.1  Varying Desired Coverage





        (a) Llama-3.1-8B, Qopen, Abinary  (b)                                                                   (c) Llama-3.1-8B, Qclosed, Abinary  (d)                                                  Llama-3.1-8B, Qopen, Afree-text                                                                                                                          Llama-3.1-8B, Qclosed, Afree-text





         (e) Qwen2.5-7B, Qopen, Abinary    (f)                                                                (g) Qwen2.5-7B, Qclosed, Abinary  (h)                                               Qwen2.5-7B, Qopen, Afree-text                                                                                                                 Qwen2.5-7B, Qclosed, Afree-text





           (i) Phi-3-small, Qopen, Abinary      (j)                                                                (k) Phi-3-small, Qclosed, Abinary    (l)                                                        Phi-3-small, Qopen, Afree-text                                                                                                                                       Phi-3-small, Qclosed, Afree-text
                  Figure 10: Predictive Performance of 20Q with different choices of ↵.





            (a) Internal Medicine (IM)               (b) Pediatrics (P)                    (c) Neurology (N)
                 Figure 11: Predictive Performance of MediQ with different choices of ↵.

959  F.2  Varying Number of Estimation Samples

960 We evaluate whether C-IP is sensitive to the number of samples nest used during estimation for the
961  task of 20Q on Llama-3.1-8B (Figure 12). Recall that by the number of estimation samples nest, we
962   refer to the number of samples used to estimate the upper bound (C-IP). In our ablation study for
963  20Q on Llama-3.1-8b with closed query set Qclosed, binary query answers Abinary and open query
964   set Qopen, binary query answers Abinary, we ﬁnd that the number of samples do have impact on the
965  performance. While one would expect the more is better, but we ﬁnd that using nest 2 {1, 2, 4, 8}966  performs somewhat similarly. One possible explanation that aligns with empirical observations of
967  LLMs is that stochasticity plays a role in obtaining better predictive performance in LLMs, akin
968   to how LLMs decoding via sampling based on output token distribution often outperforms greedy
969  decoding where tokens are selected deterministically by choosing the most likely token [43].

                                           26

                       (a) Closed Query Set Qclosed                       (b) Closed Query Set Qopen
     Figure 12: Performance of 20Q with different number of estimation samples. Each curve corresponds
     to the averaged accuracy over 5 runs, with shaded areas representing their standard deviation.


970  F.3  Varying Number of Queries Sampled for Open Query Set.





     Figure 13: Performance of 20Q in the open query setting with different number of sampled queries
    m. Here we focus on Free-text Query Answer Afree-text. Each curve corresponds to the averaged     accuracy over 5 runs, with shaded areas representing their standard deviation.

971 We evaluate whether C-IP on Llama-3.1-8B for 20Q with the open query set Qopen is sensitive to the972  number of queries m asked at each iteration (Figure K). We observe a comparable performance for
973   all choices of m.





                                           27

 974 G  Implementation Details

 975  G.1  Code Release

 976  Our code will be released upon acceptance. For now please refer to the zip attached to the supple-
 977  mentary materials in submission.

 978  G.2  Computational Resources

 979  The experiments are conducted on a workstation of 8 NVIDIA A5000 GPUs. Each LLM used in this
 980  work is able to load and run on a single A5000 GPU.

 981  G.3  Code

 982  All experiments are implemented in Python 3.12.  The main packages used are hugging-
 983   face, PyTorch, Numpy, and TogetherAI API (for UoT baseline).  The three models used
 984   are meta-llama/Meta-Llama-3.1-8B-Instruct, microsoft/Phi-3-small-128k-instruct,
 985  and Qwen/Qwen2.5-7B-Instruct.  Unless stated otherwise, we use the default hyperparame-
 986   ters from huggingface. We use the following LLM hyperparameters every time we inference:
 987  do_sample=True, temperature=0.7, and max_new_tokens=1024.

 988  G.4  Classes for 20Q and MediQ

 989  For 20Q, we select 20 classes from all 50 classes that are available in the Animals with Attributes
 990  2 [130] dataset. The 20 classes are: giraffe, zebra, elephant, killer whale, dalmatian, polar bear, giant
 991  panda, hippopotamus, rhinoceros, lion, tiger, blue whale, walrus, grizzly bear, siamese cat, cow,
 992  german shepherd, gorilla, dolphin, and moose.
 993  For MediQ, each medical question is a multiple-choice question with four options: A, B, C, and D.
 994  Note that the possible choices and order of the options are different for each problem.

 995  G.5  Obtaining Probabilities from LLM

 996  In this work, we focus on LLMs where logit scores of output tokens are accessible. While there
 997  are many methods for obtaining a posterior distribution P(Y  | Hk) for a given x, we estimate the 998  posterior by ﬁrst obtaining the LLMs’ output token logits based on the class labels’ tokens, then
 999  applying softmax function. When certain class names consist of multiple tokens, we select the ﬁrst
1000  token’s probability to represent the class’s probability. For all of our models, none of the classes
1001  consist of the same ﬁrst token. In the case that happens, one may consider adding a preﬁx such as
1002  enumerations (“1.”, “2.”, ...) or leveraging special symbols trained with large language models.

1003  G.6  Entropy Estimation

1004  Estimation of terms such as entropy in (IP) or upper bounds in (C-IP) requires samples of (X, Y )
1005   pairs. We use 4 randomly drawn samples for all 20Q experiments whenever a entropy term needs
1006   to be estimated and use 12 randomly drawn samples from the estimation set Dest for all MediQ1007  experiments.

1008  G.7  Calibration

1009  Achieving marginal coverage in (11) requires calibration samples. For 20Q, we sample 100 randomly
1010  drawn labels. For MediQ, we sample 200 randomly drawn datapoints with replacement in the
1011   calibration set Dcal.
1012  G.8  Preprocessing Query Answers for 20Q

1013  To avoid generating query-answers from LLMs at each iteration for every query, in the case of closed
1014  query set Qclosed and non-binary query-answers, we generate query-answers ofﬂine by sampling 101015  possible query-answers for every class and query. Then, in our experiments, for any given query and

                                           28

1016   class, we select a query answer by uniformly sampling one out of the ten generated answers. For
1017  binary answers, we only consider query-answers with “Yes” and “No”, without any variability.

1018  G.9  Evaluation of Predictive Accuracy

1019 We discuss the two evaluation methods for 20Q and MediQ separately as they are different. 20Q is
1020  often played in a manner that the Querier LLM keeps guessing until either it guesses correctly or
1021   until the maximum number of iterations L is reached6. Here, we following the same protocol. If the
1022  Querier LLM guesses the correct prediction ˆy⇤k at iteration k, then ˆyk = ˆy⇤i for i = k + 1, . . . , L.
1023  For MediQ, since the neither the Expert LLM or Patient LLM knows what the correct prediction is,
1024  we require C-IP to reach the stopping criteria (See Appendix §G.10). For any given datapoint xobs,
1025  suppose the stopping criterion is reached at iteration ˜k < L and ˆy˜k is the prediction. Then we assume
1026  the prediction does not change after iteration ˜k and set ˆyi = ˆy˜k for i = ˜k + 1, . . . , L.

1027  G.10  Stopping Criteria
1028  As mentioned in Section 3.2 Remark 1, arriving at I(q(X); Y  | Hk) = 0 in practice is highly unlikely.
1029  Here, we explain how one goes about arrive at an approximation I(q(X); Y  | Hk) ⇡0.
1030  One approach is to utilize the model conﬁdence P(Y  | Hk). In previous variations of IP, including the1031  generative version [14] and the variational approaches [15, 27], the algorithm stops querying once the
1032   posterior P(y | Hk) > ✏for any y 2 Y. This is suited for previous cases because the predictor model1033  f is learned from training data, which provides better estimates for the posterior. Unfortunately, in
1034  the case where model conﬁdence is miscalibrated, this process becomes unstable and unreliable.
1035  Empirically, we observe that while estimated conditional entropy (either with direct computation or
1036  with approximation via prediction sets) for every q, i.e. ˆH(Y  | q(X), Hk), does not converge to 01037  as the sequence length increases. However, it tends to converge to some constant number when the
1038  algorithm is conﬁdent enough to some number. Hence we propose to calculate the standard deviation
1039  between obtained estimations. Precisely, given a query set Q (closed or open), the query-answer1040  chain q1:k(xobs), and a stopping threshold ✏, the stopping criterion can be described as:

1041           • Step 1. Let
                                               ci = ˆH(Y  | q(X), Hk)   for q 2 Q.                      (14)
1042           • Step 2. Compute the estimated standard deviation
                      v
                      u
            X|Q|    u                  X|Q|                      t 1                                                              ¯c =     ci,    ˆσ =            (ci                           (15)                                                                     −¯c)2.                                          i=1            |Q| i=1
1043           • Step 3. Stop if ˆσ < ✏, else continue the algorithm.

1044  G.11  Evaluation of Empirical Coverage

                                              i=1 with size ntest for evaluation. The empirical coverage1045  Suppose we have a test set Dtest = {(xi, yi)}ntest1046   at iteration k is evaluated by

                  Xntest                                                 1
                    PX,Y,Q1:k,Dcal (Y 2 Cˆ⌧k(Q1:k(X))) ⇡ ntest      {yi 2 Cˆ⌧k(q1:k(xi))},         (16)                                                            i=1
1047  where (xi, yi) 2 Dtest is the i-th test sample, Cˆ⌧k is the prediction set for query-answer chains of
1048  length k, q1:k(xi) is the obtained query answer chain (e.g. from C-IP), and  (·) is a binary indicator1049   function, which equals to 1 when the condition in the parameter is true and 0 otherwise.

1050  G.12  Hyperparameters for UoT Baseline

1051  Unless speciﬁed below, we follow the default settings as suggested in UoT’s main manuscript [45]
1052  and their Github repository https://github.com/zhiyuanhubj/UoT/tree/main/src/uot.
         6This is also consistent with UoT [45].


                                           29

1053  For results in Table 1, to ensure the fairness of the experiments, we set the number of branches in
1054   their method (n_potential_actions in their code) to 5. Their experimental results are produced
1055  with API from TogetherAI. Please see their website https://www.together.ai/ for more details.
1056  The total charges to produce our results for the three models cost no more than $50.





                                           30

1057 H  Prompts

1058  Here we provide the prompts used in our experiments.

1059  H.1  20Q

        System Instruction for Querier LLM


            You are an expert on animals. Your goal is to predict the animal given the information you have gathered. The
         ,!  animal must be one of the following: {class_names}. Be as precise and as direct as possible. You may provide
         ,!  your reasoning first before making a prediction. End your response by making a guess and saying 'The animal is:
         ,!  X' (e.g. The animal is: dog) at the end of your reasoning, where X is your guess. Do not provide any
         ,!  additional information. Your response should all fit in a single paragraph. If you are not provided any
         ,!  information, make a random guess.


        Input Prompt for Querier LLM Obtaining the Posterior


            You have not gathered any information yet. Please make a random guess. # If history is empty

            Here is the information you have gathered. # If history is not empty
            1. {q1} {q1(x)}
            2. {q2} {q2(x)}
            3. {q3} {q3(x)}
            4. {q4} {q4(x)}
            ...

            Given the information you have gathered, make an intermediate SINGLE prediction of what you think the animal is.
         ,!  First make your guess in the format 'The animal is: X' (e.g. The animal is: dog), where X is your guess, then
         ,!  provide your reasoning. Do not provide any additional information. Your response should all fit in a single
         ,!  paragraph. Make sure your prediction is one of the classes: {class_names}.


        Input Prompt for Querier LLM Suggesting Queries in Open Query Set Setting


            You have not gathered any information yet. Please make a random guess. # If history is empty

            Here is the information you have gathered. # If history is not empty
            1. {q1} {q1(x)}
            2. {q2} {q2(x)}
            3. {q3} {q3(x)}
            4. {q4} {q4(x)}
            ...

            Now suggest {n_queries_per_step} questions.\nReturn the question in this format:\n{{"questions": ["QUESTION_1",
         ,!  "QUESTION_2", "QUESTION_3"]}}


        System Instruction for Expert LLM for Non-binary Query Answers


            You are an expert on {label}. Based on the question provided, answer truthfully about the question. Do not
         ,!  directly tell the other player what you are thinking. Be as precise and as direct as possible, and answer in
         ,!  complete sentence. For example, if the question is "Does the animal have a tail?", you can answer "The animal
         ,!  has a tail." without saying yes or no. Do not say the name of the animal in your answer.


        System Instruction for Expert LLM for Binary Query Answers


            You are an expert on {label}. Based on the question provided, answer truthfully about the question. Do not
         ,!  directly tell the other player what you are thinking. Be as precise and as direct as possible, and answer with
         ,!  a single word. For example, if the question is "Does the animal have a tail?", you can answer "Yes." or "No.".
         ,!  Do not say the name of the animal in your answer. If you don't know the answer, make a guess. Do not answer
         ,!  anything other than "Yes." or "No.".




                                           31

1060  H.2  MediQ

        System Instruction for Expert LLM Obtaining the Posterior


            You are a medical doctor specialized in {specialty}, trained to provide accurate, evidence-based responses to
         ,!  medical inquiries. Your goal is to answer questions with clarity, precision, and professionalism while
         ,!  ensuring your responses align with established medical guidelines. Answer concisely, accurately, and
         ,!  compassionately. Make a prediction and provide your reasoning as explanation. Respond in the following format:
            {{"answer": "A/B/C/D", "explanation": "YOUR EXPLANATION HERE"}}



        Input Prompt for Expert LLM Obtaining the Posterior


            Answer the multiple choice based on the context.

            Context: {context}

            Question: {question}

            Options:
                A - {option_a}
                B - {option_b}
                C - {option_c}
                D - {option_d}

            Please select the most appropriate answer (A/B/C/D).



        System Prompt for Converting Facts into Queries


            Convert the medical fact into a question, in which the answer is the fact itself. The question should be specific
         ,!  and relevant to the patient's condition. Please do not ask any questions that are not related to the patient's
         ,!  medical history or condition. Suggest one question only. Return only your question and nothing else.
            Medical fact: He has a non-productive cough for 4 months.
            Question: What are some preliminary symptoms?

            Medical fact: He complains of nausea and 1 episode of vomiting during the past day.
            Question: Did the patient complain about nausea?



        System Prompt for Converting Facts into Queries


            Medical fact: {fact}





                                           32

1061  I  Pseudocode for Implementation


     Algorithm 1 Constructing Prediction set functions for each length Cˆ⌧1 . . . Cˆ⌧L.
     Input: Calibration set Dcal with ncal samples, Desired Coverage 1 −↵, maximum iteration L,        LLM-based predictor f.
        1: for each length k = 1 . . . L do
        2:
        3:     Step 1: Obtain conformal scores
        4:     for (xi, yi) 2 Dcal do        5:        Option 1.1: Uniform Sampling
        6:       Sample random history q1:k ⇠Q1:k based on Equation 12.        7:
        8:        Option 1.2: DP Sampling
        9:       Sample histories from direct prompting q1:k ⇠DP(X, Y ) based on Equation 13.      10:        Obtain scores based on LLM’s output token logits for each class

                                             si(xi, yi) = f(q1:k(xi))yi
      11:    end for
      12:
      13:     Step 2: Quantile Estimation
      14:     Estimate quantiles using the obtained scores:
                          ✓                ◆
                                  + 1)(1                                               ˆ⌧k = Quantile       i=1; d(ncal     −↵)e                                                        {si}ncal            ncal
      15:
      16:     Step 3: Prediction Set Construction
      17:     Construct and deﬁne the prediction set function using the calculated quantile
                                     Cˆ⌧k(q1:k(x)) = {y 2 Y | f(q1:k(x)) > ˆ⌧}
      18: end for
      19: return Prediction set functions for each length Cˆ⌧1 . . . Cˆ⌧L.



     Algorithm 2 Information Pursuit with a closed query set Qclosed.
     Input: Observation or test sample xobs, maximum iteration L, LLM-based predictor f, query set
     Q = Qclosed, estimation set Dest     Output: Selected queries q1:k and predictions ˆy1:k
        1: Set iteration k   0
        2: Initialize an empty history S0 = {}        3: while stopping criteria is met or k < L do
        4:     Predict yk+1 = argmaxy2Y f(y | Sk)
        5:     Estimate the entropy of Y given each query q using Dest select the most informative query
                                  qk+1 = argmin H(Y  | q(X), Sk)                                      q2Q
        6:    Compute query answer qk+1(xobs) and update current history
                                  Sk+1 = Sk [ {qk+1(xobs}
        7:    k   k + 1
        8: end while


                                           33

Algorithm 3 Information Pursuit with a open query set Qopen.
Input: Observation or test sample xobs, maximum iteration L, LLM-based predictor f, an LLM
    LLM(·), m queries to sample at each iteration, estimation set DestOutput: Selected queries q1:k and predictions ˆy1:k
  1: Set iteration k   0
  2: Initialize an empty history S0 = {}  3: while stopping criteria is met or k < L do
  4:     Predict ˆyk+1 = argmaxy2Y f(y | Sk)  5:    Prompt language model for m queries based on current history

                                            m)                                    j=1               Q = {qj}m                                 LLM(Y, q1:k(xobs),
  6:     Estimate the entropy of Y given each query q using Dest select the most informative query
                             qk+1 = argmin H(Y  | q(X), Sk)                                  q2Q
  7:    Compute query answer qk+1(xobs) and update current history
                              Sk+1 = Sk [ {qk+1(xobs}
  8:    k   k + 1
  9: end while





Algorithm 4 Conformal Information Pursuit with a closed query set Qclosed.
Input: Observation or test sample xobs, maximum iteration L, LLM-based predictor f, query set
  Q = Qclosed, Prediction set functions for each length Cˆ⌧1 . . . Cˆ⌧L, estimation set DestOutput: Selected queries q1:k and predictions ˆy1:k
  1: Set iteration k   0
  2: Initialize an empty history S0 = {}  3: while stopping criteria is met or k < L do
  4:     Predict ˆyk+1 = argmaxy2Y f(y | Sk)  5:     Estimate the entropy of Y given                                    each query q using Dest select the most informative query                        '
                   qk+1 = min λ↵+ (1 −↵N) log EX[|Cˆ⌧k+1(q(X), Sk)|]                        q2Q
  6:    Compute query answer qk+1(xobs) and update current history
                              Sk+1 = Sk [ {qk+1(xobs)}
  7:    k   k + 1
  8: end while


                                       34

Algorithm 5 Information Pursuit with a open query set Qopen.
Input: Observation or test sample xobs, maximum iteration L, LLM-based predictor f, an LLM
    LLM(·), m queries to sample at each iteration, Prediction set functions for each length Cˆ⌧1 . . . Cˆ⌧L,
    estimation set DestOutput: Selected queries q1:k and predictions ˆy1:k
  1: Set iteration k   0
  2: Initialize an empty history S0 = {}  3: while stopping criteria is met or k < L do
  4:     Predict ˆyk+1 = argmaxy2Y f(y | Sk)  5:    Prompt language model for m queries based on current history

                                        m)                  Q   LLM(Y, q1:k(xobs),
  6:     Estimate the entropy of Y given                                    each query q using Dest select the most informative query                        '
                   qk+1 = min λ↵+ (1 −↵N) log EX[|Cˆ⌧k+1(q(X), Sk)|]                        q2Q
  7:    Compute query answer qk+1(xobs) and update current history
                              Sk+1 = Sk [ {qk+1(xobs)}
  8:    k   k + 1
  9: end while


Algorithm 6 Direct Prompting
Input: Observation or test sample xobs, maximum iteration L, a Querier LLM QuerierLLM(·), a
    Expert LLM ExpertLLM(·), LLM-based predictor fOutput: Selected queries q1:k and predictions ˆy1:k
  1: Initialize an empty history S0 = {}  2: for k = 0, . . . , L do
  3:     Predict with f
                                                    ˆyk = argmax f(y | Sk)                                      y2Y
  4:    Prompt Querier LLM for one single query given history
                                 qk+1 = QuerierLLM(Sk)
  5:    Obtain query answer and update history

                             qk+1(xobs) = ExpertLLM(qk+1, xobs)
                              Sk+1 = Sk [ {qk+1(xobs)}
  6: end for





                                       35

1062  J  Additional Examples of Query-Answer Chains

1063  In this section, we provide additional examples of query-answer chains obtained using C-IP. All the
1064  examples we provide in the following are correct predictions. Here we only show the iteration that
1065  the method stopped.

1066  J.1  20Q

1067  Here we provide one example for each setting, which is either open or closed query set and either
     binary or free-text query answers.

       Example of 20Q with Closed Query Set and Binary Query Answers


            ## System Instruction
            You are an expert on animals. Your goal is to predict the animal given the information you have gathered. The
         ,!  animal must be one of the following: 'giraffe', 'zebra', 'elephant', 'killer whale', 'dalmatian', 'polar bear',
         ,!  'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale', 'walrus', 'grizzly bear','siamese
         ,!  cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'. Be as precise and as direct as possible. You may
         ,!  provide your reasoning first before making a prediction. End your response by making a guess and saying 'The
         ,!  animal is: X' (e.g. The animal is: dog) at the end of your reasoning, where X is your guess. Do not provide
         ,!  any additional information. Your response should all fit in a single paragraph. If you are not provided any
         ,!  information, make a random guess.
            ## Input Prompt
            Here is the information you have gathered.
            1. Does the animal live in the Arctic? No.
            2. Does the animal have stripes? No.
            3. Is the animal domestic? Yes.

            Given the information you have gathered, make an intermediate SINGLE prediction of what you think the animal is.
         ,!  First make your guess in the format 'The ansmal is: X' (e.g. The animal is: dog), where X is your guess, then
         ,!  provide your reasoning. Do not provide any additional information. Your response should all fit in a single
         ,!  paragraph. Make sure your prediction is one of the classes: 'giraffe', 'zebra', 'elephant', 'killer whale',
         ,!  'dalmatian', 'polar bear', 'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale',
         ,!  'walrus', 'grizzly bear','siamese cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'.
            ## Response
            The animal is: cow. Given the information that the animal lives in the Arctic is no, which eliminates polar bear,
         ,!  walrus, and grizzly bear, and that it is domestic, which eliminates most wild animals, leaving domesticated
         ,!  options such as a cow.



       Example of 20Q with Closed Query Set and Free-text Query Answers


            ## System Instruction
            You are an expert on animals. Your goal is to predict the animal given the information you have gathered. The
         ,!  animal must be one of the following: 'giraffe', 'zebra', 'elephant', 'killer whale', 'dalmatian', 'polar bear',
         ,!  'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale', 'walrus', 'grizzly bear','siamese
         ,!  cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'. Be as precise and as direct as possible. You may
         ,!  provide your reasoning first before making a prediction. End your response by making a guess and saying 'The
         ,!  animal is: X' (e.g. The animal is: dog) at the end of your reasoning, where X is your guess. Do not provide
         ,!  any additional information. Your response should all fit in a single paragraph. If you are not provided any
         ,!  information, make a random guess.
            ## Input Prompt
            Here is the information you have gathered.
            1. This animal primarily inhabits grasslands and savannas, rather than dense forests.

            Given the information you have gathered, make an intermediate SINGLE prediction of what you think the animal is.
         ,!  First make your guess in the format 'The ansmal is: X' (e.g. The animal is: dog), where X is your guess, then
         ,!  provide your reasoning. Do not provide any additional information. Your response should all fit in a single
         ,!  paragraph. Make sure your prediction is one of the classes: 'giraffe', 'zebra', 'elephant', 'killer whale',
         ,!  'dalmatian', 'polar bear', 'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale',
         ,!  'walrus', 'grizzly bear','siamese cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'.
            ## Response
            The animal is: zebra. This is because the information provided suggests a grassland or savanna habitat, which
         ,!  aligns with the typical habitats of zebras, as they are commonly found in grasslands and savannas.


1068





                                           36

Example of 20Q with Open Query Set and Free-text Query Answers


 ## System Instruction
 You are an expert on animals. Your goal is to predict the animal given the information you have gathered. The
,!  animal must be one of the following: 'giraffe', 'zebra', 'elephant', 'killer whale', 'dalmatian', 'polar bear',
,!  'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale', 'walrus', 'grizzly bear','siamese
,!  cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'. Be as precise and as direct as possible. You may
,!  provide your reasoning first before making a prediction. End your response by making a guess and saying 'The
,!  animal is: X' (e.g. The animal is: dog) at the end of your reasoning, where X is your guess. Do not provide
,!  any additional information. Your response should all fit in a single paragraph. If you are not provided any
,!  information, make a random guess.
 ## Input Prompt
 Here is the information you have gathered.
 1. This animal primarily lives on land.
 2. It is native to Europe and Asia, but was later introduced to the Americas and Africa.
 3. This animal is a carnivore by natural instinct and primarily feeds on a diet rich in meat.

 Given the information you have gathered, make an intermediate SINGLE prediction of what you think the animal is.
,!  First make your guess in the format 'The ansmal is: X' (e.g. The animal is: dog), where X is your guess, then
,!  provide your reasoning. Do not provide any additional information. Your response should all fit in a single
,!  paragraph. Make sure your prediction is one of the classes: 'giraffe', 'zebra', 'elephant', 'killer whale',
,!  'dalmatian', 'polar bear', 'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale',
,!  'walrus', 'grizzly bear','siamese cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'.
 ## Response
 The animal is: dalmatian. The animal primarily lives on land, which matches with the fact that it is native to
,!  Europe and Asia, but was later introduced to the Americas and Africa, indicating a terrestrial habitat. This
,!  animal is a carnivore by natural instinct and primarily feeds on a diet rich in meat, which aligns with the
,!  characteristics of a dalmatian.


Example of 20Q with Open Query Set and Binary Query Answers


 ## System Instruction
 You are an expert on animals. Your goal is to predict the animal given the information you have gathered. The
,!  animal must be one of the following: 'giraffe', 'zebra', 'elephant', 'killer whale', 'dalmatian', 'polar bear',
,!  'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale', 'walrus', 'grizzly bear','siamese
,!  cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'. Be as precise and as direct as possible. You may
,!  provide your reasoning first before making a prediction. End your response by making a guess and saying 'The
,!  animal is: X' (e.g. The animal is: dog) at the end of your reasoning, where X is your guess. Do not provide
,!  any additional information. Your response should all fit in a single paragraph. If you are not provided any
,!  information, make a random guess.
 ## Input Prompt
 Here is the information you have gathered.
 1. Does the animal primarily eat plants? No.
 2. Does the animal primarily live on land? Yes.
 3. Does the animal have four legs? Yes.
 4. Does the animal have a large body size (over 400 kg)? Yes.
 5. Does the animal live in a herd? No.
 6. Is the animal known to be aggressive? Yes.
 7. Does the animal have a long neck? No.
 8. Does the animal have sharp claws? Yes.
 9. Is the animal a carnivore? Yes.
 10. Is the animal a mammal? Yes.

 Given the information you have gathered, make an intermediate SINGLE prediction of what you think the animal is.
,!  First make your guess in the format 'The ansmal is: X' (e.g. The animal is: dog), where X is your guess, then
,!  provide your reasoning. Do not provide any additional information. Your response should all fit in a single
,!  paragraph. Make sure your prediction is one of the classes: 'giraffe', 'zebra', 'elephant', 'killer whale',
,!  'dalmatian', 'polar bear', 'giant panda', 'hippopotamus', 'rhinoceros', 'lion', 'tiger', 'blue whale',
,!  'walrus', 'grizzly bear','siamese cat', 'cow', 'german shepherd', 'gorilla', 'dolphin','moose'.
 ## Response
 The animal is: lion. I based my prediction on the fact that the animal is a carnivore (9), lives on land (2), has
,!  a large body size (4), and is known to be aggressive (6). These characteristics are commonly associated with
,!  big cats, and the lion is one of the most aggressive and large land carnivorous mammals.





                                    37

1069  J.2  MediQ

1070  Here we provide one example for each specialty. Recall that, query answers (denoted as Patient’s
1071  Fact in the prompt), is obtained in the order that C-IP obtains. When formatting as input, we ignore
1072  the query as that provides repetitive information as the query answer.
1073  Some text that involves characters ↵, β, µ are unable to render in our example, so we replace with
     with spelled out words, i.e. ↵! “alpha”.
       Example of Diagnosis in Internal Medicine


            ## Input
            You are a medical doctor answering real-world medical entrance exam questions. Based on your understanding of
         ,!  basic and clinical science, medical knowledge, and mechanisms underlying health, disease, patient care, and
         ,!  modes of therapy, answer the following multiple choice question. Select one correct answer from A to D. Base
         ,!  your answer on the current and standard practices referenced in medical guidelines. Repond in the following
         ,!  format:
            {{"answer": "A/B/C/D", "explanation": "YOUR EXPLANATION HERE"}}

            Answer the multiple choice based on the context.

            Initial Info: A 54-year-old woman presents to the emergency department due to recent onset of a high fever,
         ,!  accompanied by severe headache and neck stiffness.
            Conversation Log between doctor and patient:
            Here is the information you have gathered.
            Patient's Fact: The patient's current blood pressure reading is 112/71 mmHg.
            Patient's Fact: She is currently on immunosuppressants after a kidney transplant 6 months ago. Her current
         ,!  medication regimen includes immunosuppressants.            Patient's Fact: The patient is 54 years old.
            Patient's Fact: The patient has a history of rapidly progressive glomerulonephritis. She also underwent a kidney
         ,!  transplant 6 months ago and is currently on immunosuppressants.            Patient's Fact: The patient's current body temperature is 102.2°F (39°C).
            Patient's Fact: The patient's neck pain is severe with neck flexion and reciprocal knee flexion. Facts 9 and 9 are
         ,!  the answer to this question.            Patient's Fact: The patient cannot answer the question about the typical triad of symptoms associated with
         ,!  meningitis.            Patient's Fact: Her respirations are 22/min.


            Question: Which of the following characteristics is true of the most likely cause of this patient's disorder?
            Options:
                A - Anaerobic spore forming rods
                B - Catalase-negative
                C - Coagulase-positive
                D - Tumbling motility in broth

            Please select the most appropriate answer (A/B/C/D).

            Medical conditions are complex, so you should seek to understand their situations across many features. First,
         ,!  consider which medical specialty is this patient’s case; then, consider a list of necessary features a doctor
         ,!  would need to make the right medical judgment. Think step by step, reason about the patient information, the
         ,!  inquiry, and the options.
            ## Response
            {"answer": "D", "explanation": "The patient's presentation of high fever, severe headache, neck stiffness, and
         ,!  neck pain with neck flexion and reciprocal knee flexion (positive Brudzinski's sign) suggests meningitis,
         ,!  which is an inflammation of the protective membranes covering the brain and spinal cord, known as the meninges.
         ,!  Given the patient's history of immunosuppression following a kidney transplant, she is at increased risk for
         ,!  opportunistic infections. The patient's inability to answer questions about the typical triad of symptoms
         ,!  associated with meningitis (headache, fever, and stiff neck) further supports this diagnosis.
            The patient's age and immunosuppressed state make her susceptible to various pathogens, but the most likely cause
         ,!  of meningitis in this context is Listeria monocytogenes. Listeria monocytogenes is a gram-positive,
         ,!  catalase-negative bacterium that exhibits tumbling motility in broth. This characteristic is unique to
         ,!  Listeria species, making option D the correct answer.
            Listeria monocytogenes is a common cause of meningitis in immunocompromised individuals, particularly those with a
         ,!  history of organ transplantation. It is also a cause of meningitis in pregnant women, the elderly, and
         ,!  individuals with certain underlying medical conditions. The other options do not accurately describe the
         ,!  typical characteristics of Listeria monocytogenes. Anaerobic spore-forming rods (option A) are more commonly
         ,!  associated with Clostridium species. Coagulase-positive (option C) is characteristic of Staphylococcus aureus,
         ,!  and while some anaerobic bacteria may exhibit catalase-negative (option B), this is not a specific
         ,!  characteristic of the most likely cause of this patient's disorder."}


1074





                                           38

Example of Diagnosis in Pediatrics


 ## Input
 You are a medical doctor answering real-world medical entrance exam questions. Based on your understanding of
,!  basic and clinical science, medical knowledge, and mechanisms underlying health, disease, patient care, and
,!  modes of therapy, answer the following multiple choice question. Select one correct answer from A to D. Base
,!  your answer on the current and standard practices referenced in medical guidelines. Repond in the following
,!  format:
 {{"answer": "A/B/C/D", "explanation": "YOUR EXPLANATION HERE"}}

 Answer the multiple choice based on the context.

 Initial Info: An 8-year-old girl of Asian descent is brought to the physician because of fatigue.

 Conversation Log between doctor and patient:
 Here is the information you have gathered.
 Patient's Fact: The patient's eye color and appearance is that she has pale conjunctivae.
 Patient's Fact: The patient's mean corpuscular volume is 74 um3.
 Patient's Fact: The chief complaint in this case is fatigue. She is not able to keep up with the rest of her
,!  classmates in gym class because she tires easily. Patient's Fact: The patient tires easily during physical activities because she is not able to keep up with her
,!  classmates in gym class and is brought to the physician because of fatigue. This is also due to her pale
,!  conjunctivae and small, pale red blood cells. Patient's Fact: She has a serum ferritin level of 77 ng/mL.
 Patient's Fact: The patient's current Hemoglobin level is 11.0 g/dL.
 Patient's Fact: She has normal hemoglobin electrophoresis. Hemoglobin electrophoresis is normal.


 Question: Which of the following best describes the pathogenesis of the disease process in this patient?"
 Options:
     A - Decreased production of beta-globin proteins
     B - Amino acid substitution in the beta-globin protein
     C - Cis deletion of alpha-globin genes
     D - Acquired inhibition of heme synthesis

 Please select the most appropriate answer (A/B/C/D).

 Medical conditions are complex, so you should seek to understand their situations across many features. First,
,!  consider which medical specialty is this patient’s case; then, consider a list of necessary features a doctor
,!  would need to make the right medical judgment. Think step by step, reason about the patient information, the
,!  inquiry, and the options.

 ## Response
 {"answer": "C", "explanation": "This patient's presentation of fatigue, pale conjunctivae, and small, pale red
,!  blood cells (microcytosis) is suggestive of anemia. The patient's mean corpuscular volume (MCV) of 74 um3
,!  indicates a microcytic anemia. The normal hemoglobin electrophoresis rules out hemoglobinopathies such as
,!  sickle cell disease or thalassemia major. The serum ferritin level of 77 ng/mL is elevated, which suggests
,!  iron overload. However, the patient's hemoglobin level is low, which is not consistent with iron overload. The
,!  most likely diagnosis is beta-thalassemia trait, which is a mild form of thalassemia. Beta-thalassemia trait
,!  is caused by a cis deletion of one of the beta-globin genes, leading to reduced production of the beta-globin
,!  protein. This results in a mild anemia, which is consistent with the patient's presentation. The patient's
,!  fatigue and pale conjunctivae are due to the anemia, and the small, pale red blood cells are consistent with
,!  microcytic anemia. The normal hemoglobin electrophoresis and elevated ferritin level support this diagnosis.
,!  Therefore, the correct answer is C - Cis deletion of alpha-globin genes is incorrect, as the patient has
,!  beta-thalassemia trait, not alpha-thalassemia. The correct answer is actually Cis deletion of beta-globin
,!  genes but the options provided do not have beta-globin, so the closest option is C."}





                                    39

Example of Diagnosis in Neurology


 ## Input
 You are a medical doctor answering real-world medical entrance exam questions. Based on your understanding of
,!  basic and clinical science, medical knowledge, and mechanisms underlying health, disease, patient care, and
,!  modes of therapy, answer the following multiple choice question. Select one correct answer from A to D. Base
,!  your answer on the current and standard practices referenced in medical guidelines. Repond in the following
,!  format:
 {{"answer": "A/B/C/D", "explanation": "YOUR EXPLANATION HERE"}}

 Answer the multiple choice based on the context.

 Initial Info: A 25-year-old man presents to the ER after a street fight.

 Conversation Log between doctor and patient:
 Here is the information you have gathered.
 Patient's Fact: He has been rapidly decompensating since several hours after the initial hit. Since then, he has
,!  been rapidly decompensating. Patient's Fact: The patient cannot answer the question about the exact cause of the altered mental status and head
,!  pain. However, the patient is experiencing head pain and altered mental status. The atomic factual statements
,!  that answer the question partially are: - He is grabbing his head in pain.- His mental status is altered. Patient's Fact: The patient's right pupil is dilated. The information comes from fact #7.

 Question: If this patient's symptoms are allowed to progress without intervention, which of the following would be
,!  expected to occur? Options:
     A - Right sided hemiparesis
     B - Down and in gaze of the right pupil
     C - Right sided homonymous hemianopsia.
     D - Right eye with an inability to abduct

 Please select the most appropriate answer (A/B/C/D).

 Medical conditions are complex, so you should seek to understand their situations across many features. First,
,!  consider which medical specialty is this patient’s case; then, consider a list of necessary features a doctor
,!  would need to make the right medical judgment. Think step by step, reason about the patient information, the
,!  inquiry, and the options.
 ## Response
 {"answer": "A", "explanation": "Based on the patient's symptoms of rapidly decompensating altered mental status
,!  and head pain, along with a dilated pupil on the right side, the most likely diagnosis is a mass lesion in the
,!  brain, such as a hemorrhage or an ischemic stroke. The dilated pupil is a sign of third cranial nerve
,!  (oculomotor nerve) compression, which is often seen in patients with a space-occupying lesion in the brain.
 If this patient's symptoms are allowed to progress without intervention, it is likely that the mass lesion will
,!  continue to increase in size and cause further brain damage. This could lead to a range of complications,
,!  including right-sided hemiparesis, which is weakness on the opposite side of the body from the lesion.
 Right-sided hemiparesis is a common consequence of a left-sided brain lesion, as the motor tracts in the brain
,!  cross over to the opposite side of the body. The other options are not directly related to the expected
,!  outcome of a space-occupying lesion in the brain. Down and in gaze of the right pupil would be more consistent
,!  with a third cranial nerve palsy, but the patient's symptoms are not consistent with this diagnosis.
,!  Right-sided homonymous hemianopsia would be more consistent with a lesion in the visual pathway, and an
,!  inability to abduct the right eye would be more consistent with a sixth cranial nerve palsy, which is not
,!  suggested by the patient's symptoms."}





                                    40

1075 K  Examples of Sampled Queries

1076  Here we provide some brief examples of queries sampled in the 20Q open query set setting. Here the
     number of queries to sample m = 3.

       Example of Sampled Queries at Each Iteration


            [
                "Does the animal have four legs?",
                "Does the animal live on land?",
                "Is the animal a mammal?"
            ],
            [
                "Does the animal have spots or stripes?",
                "Does the animal primarily live on land?",
                "Does the animal have a long neck?"
            ],
            [
                "Does the animal primarily eat plants?",
                "Does the animal live in a group?",
                "Does the animal have a distinctive coat pattern?"
            ],
            [
                "Does the animal have a long neck?",
                "Does the animal primarily eat bamboo?",
                "Does the animal give birth to a single cub at a time?"
            ],
            [
                "Does the animal have a large body size?",
                "Does the animal primarily eat bamboo?",
                "Does the animal have a distinctive coat pattern?"
            ],
            [
                "Does the animal primarily consume bamboo?",
                "Does the animal have retractable claws?",
                "Does the animal have a distinctive pattern of black and white stripes rather than spots?"
            ],
            [
                "Does the animal primarily feed on plants?",
                "Does the animal have a herbivorous diet?",
                "Is the animal native to Asia?"
            ],
            [
                "Does the animal primarily feed on bamboo?",
                "Is the animal a carnivore?",
                "Does the animal have a large body size compared to other land animals?"
            ],
            [
                "Does the animal primarily walk on all fours?",
                "Does the animal have a long gestation period?",
                "Is the animal a member of the Ursidae family?"
            ],
            [
                "Does the animal have a long snout?",
                "Is the animal native to Africa?",
                "Does the animal have a large body size compared to its neck?"
            ],
            [
                "Does the animal primarily live on land?",
                "Is the animal a carnivore?",
                "Does the animal have a large body size compared to other animals on the list?"
            ]



1077





                                           41