Manuscript Offprint

arXiv:2610.30533

IFC-MCQ: Automatically Generating Multiple-Choice Benchmarks for Evaluating LLM Agents on IFC Data Retrieval

Rabindra Lamsal, Sisi Zlatanova, Xuesong Shen

Abstract

Industry Foundation Classes (IFC), the standard for building information exchange in architecture, engineering, and construction (AEC), is increasingly queried through large language models (LLMs) using natural language. Evaluating these systems at scale is difficult because free-text answers require costly human or LLM-based review. We propose IFC-MCQ, a method that automatically generates multiple-choice benchmarks from IFC files for exact option-set grading. The taxonomy covers 15 categories and 36 subtypes across four groups, with answer keys derived from the file and distractors constructed from file-derived values or predefined rules. We applied IFC-MCQ to IFC models of varying sizes and modelling characteristics to assess generation coverage and evaluated two agentic configurations on selected models using tool- and code-based retrieval. The evaluation exposed category-specific failure modes and showed that performance can vary with the source IFC model and retrieval interface. IFC-MCQ enables scalable benchmarking of LLM-based IFC retrieval in

*Corresponding author

Email addresses: r.lamsal@unsw.edu.au (Rabindra Lamsal), s.zlatanova@unsw.edu.au (Sisi Zlatanova), x.shen@unsw.edu.au (Xuesong Shen)

AEC workflows.

Keywords: Industry Foundation Classes, Building information modelling, Large language models, Multiple-choice benchmark, LLM agents

1. Introduction

Industry Foundation Classes (IFC) standard is an open, standardized data model widely used for exchanging building information across the architecture, engineering, construction (AEC) sector, and a range of building management and exploration applications [1, 2, 3, 4, 5]. An IFC file encodes building elements, their attributes, property and quantity sets, materials, classification references, spatial structure and geometry in a single semantic model [6]. Querying IFC data is a common task, and its user base is expanding well beyond architects and engineers [1]. For instance, facility managers may query an IFC model to identify the number of rooms per storey in order to allocate workforce, and energy consultants might query the thermal transmittance of walls to check for compliance. However, querying an IFC model is a demanding task that requires either custom scripting against an IFC toolkit or detailed knowledge of the complex and deeply-nested IFC schema.

Ongoing progress in large language models (LLMs) [7, 8] has made natural language querying of building information a more accessible option [9], and a growing body of work has proposed LLM-based natural language interfaces for IFC models [10, 11, 12, 13, 14], allowing non-experts to query such models in natural language. However, such an interface is only useful if its answers are correct. An LLM that confidently presents a plausible but incorrect fire rating, a quantity in the wrong unit, or a wall assigned to the wrong storey can lead to incorrect downstream decisions. Therefore, rigorous evaluation of these systems is critical, but this remains a challenge. IFC data retrieval tasks are inherently open-ended [15, 13], and grad-ing open-ended question-answering reliably at scale is expensive [16]. Grading a free-text response requires either costly human review or a second LLM whose own judgements carry additional, hard-to-quantify uncertainty, and relying on an LLM for review only adds to the overall cost of inference. An automated approach to grading is therefore needed.

Multiple-choice questions (MCQs) provide a practical alternative [17, 16]. Formally, following the multiple-choice prompting (MCP) strategy of Robinson and Wingate [17], an MCQ can be defined as a tuple (q,A,A∗)(q, A, A^*), where qq is the question in natural language (question stem), A={a1,a2,…,an}A = \{a_1, a_2, \ldots, a_n\} is a finite set of options (answer key(s) + distractors), and A∗⊆AA^* \subseteq A is the set of correct answer(s). A response is scored as correct only if the selected answer(s) A^⊆A\hat{A} \subseteq A exactly match A∗A^*. For example, given qq: “How many storeys does the building model contain?” with A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} and A∗={3}A^* = \{3\}, an LLM is correct only if it selects “3”. Outside the IFC domain, MCQs are widely used for evaluating foundational LLMs [18], including benchmarks such as ARC [19], MMLU [20], and GPQA [21]. However, to the best of our knowledge, MCQ-based benchmarks have not been established for natural language querying of IFC models. Developing such a benchmark requires three capabilities: (i) a taxonomy of question types that are meaningful for IFC querying and admit reliable ground truth; (ii) a mechanism for generating questions directly from IFC models; and (iii) a separate procedure for verifying the correctness of generated items.

In this work, we address these requirements as follows. We introduce IFC-MCQ, a method for automatically generating MCQ benchmarks from IFC files. First, it defines a taxonomy of 15 question categories (further divided into 36 subtypes) organized into four groups: Direct retrieval, Relational, Quantitative, and Geometric. The taxonomy focuses on questions for which the IFC file can supply reliable ground truth and is meant to be extensible. Second, IFC-MCQ generates benchmark items directly from the content of the input IFC file. Each category generator uses the information available in the file to construct question stems, answer key(s), and distractors designed to represent IFC-specific retrieval errors, such as values taken from other entities of the same type, quantities expressed in an incorrect unit, or plausible values for properties that are absent from the queried entity. Third, the answer to each candidate item is re-derived through a separate verification path that does not receive the stored answer key. Candidates for which the generated and re-derived answers disagree are discarded.

To demonstrate the method, we first apply IFC-MCQ to ten IFC models of varying sizes and modelling characteristics to examine benchmark coverage and verification across heterogeneous files. We then evaluate the generated benchmarks through a three-stage agentic experiment. Stage 1 evaluates 17 proprietary and open-weight LLMs using a tool agent on two commonly used reference IFC models. Stages 2 and 3 use a selected set of LLMs across the two reference models and four additional IFC models, while introducing a second agent, i.e., a code agent, to examine the effects of source-model characteristics and agent design, respectively.

The remainder of the paper is organized as follows. Section 2 reviews the relevant literature; Section 3 describes the method; Section 4 discusses the implementation and the evaluation setup; Section 5 presents the results; Section 6 provides discussion; and Section 7 concludes the paper.

References (41)