Abstract
Large language models (LLMs) offer new opportunities for lesson planning, remediation, and personalized practice, but deploying them in real educational settings remains challenging for two reasons. First, direct use of learner interaction traces can expose sensitive information about student knowledge states and behavioral patterns. Second, unconstrained generation can produce recommendations that are pedagogically inconsistent with the adopted curriculum, such as skipping prerequisite concepts or drifting outside the prescribed textbook scope. We propose PrivPath, a stage–subject–textbook-aligned framework for privacy-preserving curriculum planning that explicitly separates on-device learner modeling from server-side content generation. Its core module, Tri-Index Private Path Planning (TIPP), first restricts planning to a scoped curriculum graph defined by the target educational context, then privatizes learner mastery summaries under local differential privacy before transmission, and finally computes a curriculum-feasible instructional path that is coupled with evidence-grounded constrained generation. This design preserves personalization while reducing reliance on raw student traces and improving controllability of the generated teaching sequence. Experiments on three educational interaction datasets paired with open-textbook curriculum graphs show that PrivPath substantially improves structural validity and privacy robustness. In particular, it raises graph feasibility from 82.5% to 99.2% relative to TriIndex-RAG, improves the offline pedagogical utility proxy AUC from 0.013 to 0.018, and lowers membership inference AUC from 0.74 to 0.52 at . These results suggest that curriculum-aligned path planning, privacy-preserving learner adaptation, and practically useful LLM-based educational generation can be achieved within a unified framework.
MSC:
62R07
1. Introduction
Large language models (LLMs) are becoming an increasingly common component of educational software, where they are used to support lesson preparation, provide formative feedback, and recommend individualized practice. When combined with retrieval over curriculum materials, these systems can generate coherent explanations and suggest learning activities at scale. Yet educational deployment brings two demands that are difficult to satisfy at the same time. The first is curriculum controllability: recommendations must stay within the adopted instructional scope and follow a pedagogically appropriate sequence. In real school settings, that scope is typically determined by a stage (or grade band), a subject, and an officially adopted textbook, while sequencing is shaped by prerequisite structure and lesson order. The second is privacy protection: the most informative personalization signals come from student-level traces such as responses, errors, time-on-task, and reflections, all of which are sensitive and often regulated. Sending such data directly to a server-side LLM, or conditioning generation on rich personal profiles, creates risks of leakage through logs, inference attacks, or prompt-based extraction. At the same time, if an LLM is allowed to propose a learning sequence too freely, it may drift beyond the approved scope, mix material from different textbooks, or suggest pedagogically implausible jumps.
Existing work has usually focused on only one side of this problem. Retrieval and constrained decoding have been shown to improve factual grounding and output control [1,2,3,4], while differential privacy and privacy-aware model adaptation reduce exposure of learner data [5,6,7,8]. In school settings, however, both requirements must be met simultaneously: the system must remain faithful to an adopted textbook sequence while still adapting to learner needs without transmitting raw traces.
To address this gap, we propose PrivPath, a privacy-preserving framework for teaching-path guidance built around Tri-Index Private Path Planning (TIPP). At a high level, PrivPath first anchors planning to the requested stage, subject, and textbook; then it computes a teaching path from a privatized on-device mastery summary; finally, it prompts the LLM to verbalize only the planned path, using curriculum evidence retrieved from the same restricted scope. This division of labor assigns structural correctness to the planner and leaves the LLM responsible only for explanation. Formal notation and the optimization problem are introduced later in Section 3.
PrivPath differs from prior LLM-based educational assistants that rely on unconstrained generation or unrestricted retrieval. In our setting, alignment is not merely a question of factual accuracy; it is also a matter of institutional compliance, since the output must correspond to a specific textbook and stage. Likewise, privacy is not just a secondary concern related to logging, but a central algorithmic requirement: teacher-facing explanations should not reveal student weaknesses at an individually identifiable level, and student-facing guidance should not allow interaction histories to be used for membership or attribute inference. By separating personalization from generation and by using the curriculum graph to constrain both retrieval and decoding, PrivPath narrows the channel through which learner information might be exposed.
Our main contributions are as follows:
- Problem formulation. We formulate teaching-path guidance aligned with stage, subject, and textbook, using explicit curriculum topology to define alignment and feasibility objectives together with learner-level privacy requirements.
- Novel algorithm. We propose TIPP, which combines tri-index curriculum restriction, locally private mastery summarization, and augmented-state shortest-path planning to produce feasible macro paths and consistent micro-level expansions.
- Controlled generation interface. We introduce a curriculum-constrained decoding and evidence-grounded retrieval protocol that ties LLM output to the planned path, reducing off-scope recommendations and limiting leakage through free-form generation.
- Empirical evaluation. Using real educational interaction datasets and an open textbook-derived curriculum scope, we evaluate alignment, offline utility, and privacy leakage. The results show that PrivPath improves curriculum feasibility and utility while pushing membership and attribute inference toward random-guessing levels under stronger privacy budgets.
The rest of the paper is organized as follows: Section 3 introduces the notation, curriculum graphs, and privacy definitions. Section 4 presents PrivPath and the TIPP algorithm. Section 5 reports the empirical results, including privacy–utility trade-offs. Section 2 reviews related work on educational LLMs, privacy in model adaptation, and constrained generation. Section 6 concludes the paper.
2. Related Work
2.1. Large Language Models in Educational Assistance
Recent foundation models and technical reports have shown steady improvements in instruction following and long-context processing, making LLMs increasingly viable for teacher-facing tasks such as lesson planning, material adaptation, and instructional support [9,10,11,12,13]. At the same time, recent surveys have begun to organize the fast-growing literature on LLMs in education, covering applications in tutoring and teacher assistance, as well as datasets, benchmarks, and deployment risks [14,15]. A recurring theme across this literature is that educational use places special pressure on two requirements: curriculum controllability, meaning that outputs should remain within an adopted instructional scope, and privacy protection, since student traces and learner profiles are inherently sensitive. PrivPath is designed around both concerns by explicitly modeling curriculum topology through while imposing privacy boundaries on learner data.
2.2. Privacy Risks and Differential Privacy for LLM Adaptation
Privacy attacks on generative models. A large body of work has shown that trained models can leak information about individuals or particular records through membership inference and training data extraction attacks [16,17,18,19]. For LLMs, recent large-scale analyses suggest a more nuanced picture: in some settings, membership inference performs close to random guessing, whereas in others, models remain vulnerable under distribution shift or particular data conditions [20]. In personalized applications, however, record-level privacy is not the only concern. User-level threats are especially relevant, since each learner typically contributes multiple interactions over time. Recent user inference attacks show that an adversary with black-box access may be able to determine whether a particular user’s data was involved in fine-tuning, even from only a small number of samples [21]. This makes user- or learner-level privacy a natural design target in educational systems [22].
Differential privacy foundations and training algorithms. Differential privacy (DP) provides a formal framework for limiting how much the inclusion of any one individual can influence a model’s output [5]. In deep learning, DP-SGD operationalizes this idea through gradient clipping and noise injection, together with privacy accounting based on moments or Rényi methods [6,23]. DP has also been studied extensively in federated and decentralized learning, where privacy is often defined at the client or user level [24,25,26].
DP fine-tuning for language models. Early studies showed that large pretrained language models can be fine-tuned with DP while preserving useful performance [7]. More recent work has focused on user-level differential privacy (ULDP), which better matches practical deployments in which each user contributes many records rather than a single example [8,27]. Other work seeks to improve the privacy–utility trade-off during adaptation, for example, through adaptive noise allocation across transformer parameters [28] or zeroth-order private fine-tuning methods that privatize a lower-dimensional signal and thereby reduce engineering and memory overhead [29]. A recent survey synthesizes this line of research and identifies DP, federated learning, and unlearning as central directions in privacy-preserving LLM fine-tuning [30]. PrivPath differs from this literature in that it does not treat privacy only as a model adaptation issue; instead, it combines privacy-aware learner summarization with curriculum-indexed planning and a constrained generation interface tailored to teaching-path guidance.
2.3. Curriculum Alignment, Retrieval, and Constrained Generation
Retrieval-augmented generation. Retrieval-augmented generation (RAG) improves factual grounding by conditioning generation on external evidence, and is widely used to reduce hallucination [1]. In educational settings, however, retrieval alone is not sufficient to ensure alignment with an adopted curriculum scope such as a particular stage, subject, and textbook. PrivPath therefore narrows retrieval through a tri-index and further restricts evidence selection using the planned path , reducing the chance of mixing content across scopes.
Constrained decoding and decoding-time alignment. Lexically constrained decoding methods allow generation to satisfy required tokens or phrases at decoding time [2,31]. More recent work has extended this idea to structured constraints and decoding-time alignment objectives, allowing controllable behavior without full retraining [4]. For grammar-based constraints, recent studies point to both benefits and limitations: grammar-aligned decoding can improve consistency with the intended conditional distribution under constraints [3], but grammar-constrained decoding can also introduce distributional bias that depends on model size and task structure [32]. These findings motivate the design choice in PrivPath: we constrain path tokens and schema-critical fields, where determinism is necessary, while leaving pedagogical explanations relatively open-ended and grounding them in retrieved curriculum evidence.
2.4. Learning Path Guidance and Learner Modeling
Personalized learning-path guidance is closely related to learner modeling and knowledge tracing, where mastery is inferred from a sequence of student interactions [33,34,35]. Such models are useful for identifying prerequisite gaps, recommending remediation, and adjusting pacing. However, they do not by themselves address curriculum-scoped controllability, nor do they provide privacy safeguards for LLM-based natural-language guidance. PrivPath brings these threads together by combining on-device learner summarization for mastery estimation, privacy mechanisms that limit leakage, and curriculum-graph planning that produces feasible and scope-aligned paths in . In this sense, it connects learner modeling with controllable and privacy-aware LLM generation.
Overall, prior work has largely studied three directions in isolation: LLMs for educational support [14,15], privacy risks and private fine-tuning [8,19,21,27,28,29], and constrained retrieval and generation [1,2,3,4]. PrivPath contributes a unified pipeline for stage–subject–textbook-aligned teaching-path guidance that simultaneously enforces curriculum scope and reduces learner-level privacy leakage.
3. Preliminaries
This section formalizes stage–subject–textbook aligned teaching-path guidance, the curriculum structures used for alignment, and the privacy notions used for protecting learner information. All random variables are defined on a common probability space.
3.1. Notation and Problem Setup
Let be the set of educational stages (e.g., primary, middle, high), the set of subjects, and the set of textbooks (publisher–edition identifiers). Learners are indexed by and requests by . Vectors are bold (e.g., ) and denotes the Euclidean norm.
We represent the adopted curriculum as a directed graph , where denotes a lesson (or fine-grained knowledge unit) and denotes a pedagogical dependency (prerequisite/flow). Each node v is annotated with a curriculum triple and optional metadata (unit, objectives, difficulty).
A teaching path is an ordered sequence with . We call graph-feasible if consecutive steps follow the curriculum topology, i.e., either or there exists a short bridge sequence in that is consistent with the intended flow. We distinguish (i) a macro path at the lesson/unit level for teacher planning, and (ii) a micro path at the exercise/checkpoint level for student guidance. We assume a deterministic mapping from micro to macro nodes and require consistency: for all t.
Each learner p holds private local data (interaction traces, errors, time-on-task, reflections). Raw is not uploaded. Instead, the device computes a learner representation ; only sanitized variants of (or aggregates) may influence server-side components, and Table 1 lists the main symbols.
Table 1.
Main notation used in the paper.
3.2. Tri-Index Curriculum Memory and LLM Interface
To ensure stage–subject–textbook alignment, we assume a tri-index , where each component maps an attribute value to the corresponding node subset. For example, , , and . Given a requested scope , the eligible node set is , inducing the scoped subgraph with .
We also assume a curriculum memory of retrievable evidence items, where each contains a short authoritative snippet (lesson summary, objective, canonical example) and metadata including and . Retrieval is constrained by so that evidence matches the requested scope.
Let denote an LLM-based generator producing an output y (recommended path plus rationale) conditioned on a request context x and retrieved evidence R, i.e., with . The request x may include teacher constraints (target unit/lesson, time budget) and an optional learner descriptor, but any learner descriptor is assumed to be sanitized before it can be used server-side.
3.3. Privacy Definitions and Objective
We consider an adversary who can access server-side logs, model inputs/outputs, and stored curriculum memory , but cannot directly access raw local learner data . The adversary may attempt membership inference, attribute inference, or prompt-based extraction. The goal is to prevent leakage attributable to an individual learner while maintaining curriculum-aligned utility.
We use differential privacy (DP) to formalize protection. A randomized algorithm satisfies -DP if, for any neighboring datasets D and differing in one learner record and any measurable output set , . A randomized local mechanism satisfies -local DP if, for any inputs and any , ; local DP is appropriate when the server is not trusted with raw learner signals.
Objective. Given a curriculum graph with tri-index and curriculum memory , a request x specifying a target scope and planning constraints, and learner-side representations accessible only through privacy mechanisms, the objective is to generate a teaching path and explanation y that maximize instructional utility subject to curriculum alignment and privacy constraints. In Section 4, we instantiate this objective with the proposed Tri-Index Private Path Planning (TIPP) algorithm, combining scope-constrained retrieval, privacy-aware personalization, and constrained decoding for policy-compliant outputs.
4. Methodology
This section introduces PrivPath and its core planning algorithm, Tri-Index Private Path Planning (TIPP). The goal of TIPP is to generate curriculum-aligned teaching paths while minimizing exposure of learner-sensitive information. The design follows a strict separation principle: (i) any computation that requires raw learner data is performed on the learner device, and (ii) the server-side LLM is conditioned only on curriculum evidence and non-sensitive control signals.
For clarity, we describe PrivPath as a four-stage pipeline: scope anchoring, on-device learner summarization and privatization, graph-based path planning, and evidence-grounded constrained generation. Figure 1 illustrates the full workflow, and the following subsections move from the overall design to the planner and privacy mechanisms in more detail.
Figure 1.
General pipeline of our proposal.
4.1. Overview of PrivPath
PrivPath is a curriculum-aligned, privacy-preserving framework for teaching-path guidance. It outputs a macro teaching path , a consistent micro path , and an explanatory narrative y. The central design idea is twofold: first, to separate planning from generation; second, to separate personalization from direct access to raw learner data. In practice, PrivPath first builds a scoped curriculum subgraph and plans a feasible path over it using only sanitized learner signals. It then applies retrieval and constrained decoding so that the LLM verbalizes that plan and grounds its explanations in curriculum evidence, rather than in learner-identifying traces.
Inputs and outputs. A request context x specifies a curriculum scope , consisting of stage, subject, and textbook, together with optional constraints such as a target lesson set , a time budget, and an output style (teacher-facing plan, student-facing checklist, or a mixed format). PrivPath returns , where is a sequence of curriculum nodes in the scoped graph , refines into finer checkpoints or exercises through the mapping , and y is a natural-language explanation containing rationales, checkpoints, and suggested activities. Crucially, the plan expressed in y must remain consistent with the planned paths: the model is not permitted to introduce additional nodes beyond and .
Separation principle and data boundary. PrivPath imposes a strict boundary between learner data and server-side generation. Any computation that depends on raw local learner data is performed on-device, while server-side components operate only on curriculum artifacts and non-sensitive control signals. Concretely, the device computes an on-device representation and a mastery summary over a bounded curriculum region, then releases only a privatized vector through a local privacy mechanism. The server never receives , and the generation model is never conditioned directly on raw learner text, such as reflections, or on full interaction histories.
This design remains lightweight enough for school deployment because the device-side computation is limited to maintaining a bounded mastery summary over . No raw logs, reflections, or complete interaction histories leave the device. The transmitted payload consists only of request controls and the privatized vector , typically a few tens of scalars rather than the learner’s full trace. The server stores textbook-derived curriculum memory, performs retrieval and constrained generation, and can audit the emitted path identifiers. When device resources are limited or the privacy budget has been exhausted, the system can fall back to cached summaries or to a non-personalized prerequisite path without violating the data boundary.
Four-stage pipeline. For each request x, PrivPath proceeds as follows:
- 1.
- Scope anchoring and candidate restriction. Using the tri-index and the requested scope , PrivPath constructs the scoped node set and the induced curriculum subgraph . It then defines a candidate region around the target set using bounded prerequisite and postrequisite closure. This restriction is important for both controllability, because it prevents cross-scope mixing, and privacy, because it limits the region over which learner signals can influence the output.
- 2.
- On-device learner summarization and privatization. The learner device computes a mastery vector over nodes in and privatizes it to under local differential privacy, so that only bounded and sanitized signals cross the device–server boundary.
- 3.
- Graph-based path planning (namely, TIPP). The planner solves a constrained optimization problem on to produce a feasible macro path that covers while adding prerequisite remediation when the privatized mastery signal suggests gaps. Micro steps are then generated by expanding each macro node into checkpoints and exercises via and the mapping .
- 4.
- Evidence-grounded and constrained generation. The server retrieves curriculum evidence R from , restricted to and the neighborhood of . The LLM then produces the explanation y under a structured interface: the plan must match and , and path mentions are controlled by a finite-state controller so that they appear in the correct order and cannot reference nodes outside . This reduces hallucinated lesson references and narrows the output channel through which learner-specific information might otherwise leak.
Novelty. Many existing educational LLM assistants rely on free-form prompting, in which the model is left to decide both what to teach next and how to explain it, often while conditioning on rich learner profiles. PrivPath departs from this setup in two important ways. First, it treats the curriculum as an explicit graph-structured object and uses TIPP to compute a feasible path before any text is generated. This prevents the LLM from drifting outside the adopted scope or violating prerequisite structure. Second, personalization is limited to a privatized mastery signal over a bounded region. As a result, personalization affects which curriculum nodes are selected, but the LLM never receives raw learner traces that could be memorized or leaked. Together, these choices allow PrivPath to optimize alignment and privacy jointly without sacrificing the usefulness of the resulting guidance.
4.2. TIPP
TIPP proceeds in three stages: scoped candidate construction, private mastery release, and graph-constrained path search. Making these stages explicit helps clarify the method before turning to the detailed equations.
This subsection explains how PrivPath (i) anchors all computation to the requested stage–subject–textbook scope and (ii) computes feasible macro and micro paths using Tri-Index Private Path Planning (TIPP). The central technical move is to cast the question of “what to teach next” as an explicit optimization problem over a curriculum graph, with personalization entering only through a privatized mastery signal.
- Scoped candidate construction.
Given a request x, PrivPath extracts the scope triple together with any optional constraints, such as the target lesson set , a time budget, or a pacing preference. Using the tri-index , we define the eligible node set as
and the scoped subgraph , where . This step removes cross-scope drift by construction: any node that does not match is excluded not only from planning, but also from retrieval and constrained decoding.
To reduce computation and limit the region over which personalization can act, we further restrict planning to a bounded candidate set centered on . Let denote the directed shortest-path distance in . With small horizons and , the candidate region is defined as
Intuitively, contains a small prerequisite neighborhood to support remediation and a small forward neighborhood to support pacing. Planning is then performed on the induced subgraph .
- On-device mastery estimation and local privatization.
For each learner p, the device computes a mastery vector over nodes in :
where may be implemented by a lightweight tracing model or by calibrated heuristics, provided that it outputs bounded values. Raw learner data never leaves the device.
To make the privacy calibration explicit, we model the release as a composition of scalar local-DP mechanisms. Each coordinate satisfies , and therefore has scalar sensitivity
If the device releases all coordinates, we allocate per-coordinate budgets such that . Under uniform allocation, , and each coordinate is privatized as
Equivalently, the full vector has bounded sensitivity because each coordinate is clipped to . This bounded domain is what makes the Laplace mechanism well defined in this setting. From a pedagogical standpoint, smaller makes nearby mastery states harder to distinguish, so TIPP uses as a soft prioritization signal rather than as a hard diagnosis. When competing path costs are nearly tied, the system falls back to the curriculum-order predecessor or requests teacher confirmation.
- Macro path objective and feasibility.
TIPP computes a macro path over such that it (i) covers , (ii) respects curriculum flow, and (iii) inserts prerequisite remediation when low mastery is indicated by the privatized signal. We define the path cost as
where captures remediation and pacing, penalizes invalid transitions or abrupt difficulty shifts, and penalizes failure to cover the target set.
For node costs, we use
where is a difficulty indicator derived from , and is an optional pacing target. For edge costs, we define
and for coverage,
The terms in this objective have straightforward interpretations. The node cost balances remediation value against instructional effort: nodes that appear difficult for the learner can be inserted, but only when doing so improves the path enough to justify the added effort. The pacing term discourages plans that are substantially easier or harder than the requested pace, while penalizes nodes that violate request-side constraints. The edge term discourages invalid curriculum jumps and abrupt changes in difficulty. The coverage penalty makes it expensive to omit requested targets, so the optimizer prefers paths that genuinely reach the intended lessons instead of taking a locally cheap but pedagogically incomplete shortcut. The optimal macro path is given by
where enforces a length or time budget and excludes degenerate cycles.
- Augmented-state shortest-path solver.
Because the set of feasible paths is combinatorial, TIPP reduces planning to a shortest-path problem over an augmented state space that tracks target coverage. Let indicate which target nodes have already been visited. States are pairs with , and a transition is allowed when and is obtained by updating according to whether belongs to . The transition cost is
while missing-target penalties are handled either through terminal-state selection or, equivalently, by adding for each target that remains uncovered at termination. When is small, as is typical in lesson planning, Dijkstra’s algorithm on this augmented graph is efficient and yields a path that is feasible by construction.
- Device-side micro expansion.
Once has been computed, PrivPath derives a micro path by expanding each macro node according to the local lesson structure:
The operator selects checkpoints and exercises linked to the macro node through , optionally prioritizing items associated with low privatized mastery. When micro-level selection depends on learner-sensitive signals, this step is also performed on-device; the server receives only the resulting micro-identifiers, or an abstract template, needed for downstream constrained generation.
4.3. Privacy-Aware Retrieval and Curriculum-Constrained Generation
This subsection explains how PrivPath transforms the planned paths into a final guidance output y while preserving stage–subject–textbook alignment and reducing privacy leakage through the output channel. The guiding principle is that the LLM serves only as a verbalizer of (i) an already computed plan and (ii) a bounded set of curriculum evidence. It is not allowed to invent new lesson identifiers, reorder the plan, or cite evidence outside the scoped curriculum memory.
4.3.1. Evidence Restriction Based on Scope and Planned Path
Given , PrivPath retrieves curriculum snippets from memory in a way that is both scope-aligned and local to the planned path. Let denote the path neighborhood used for grounding:
We then define the restricted candidate memory set
This restriction serves two purposes. First, it enforces curriculum scope by ensuring that only evidence whose scope matches is shown to the LLM. Second, it limits the radius of evidence, so the model cannot rely on distant content that might introduce unintended associations or drift across units.
From this restricted set, we select a top- subset by maximizing a relevance score that combines semantic similarity with curriculum proximity to the targets:
where is a request embedding, is an evidence embedding, and controls the trade-off between semantic relevance and graph distance. Importantly, retrieval depends on x and the planned path, but not on raw learner data . Personalization affects retrieval only indirectly through , which itself was computed from the privatized mastery vector, thereby limiting the information that can flow from the learner to the model through retrieved text.
4.3.2. Structured Interface to the LLM
PrivPath generates the final output by conditioning on a structured bundle:
The prompt is organized into three parts: (i) a plan header that lists and as fixed identifiers, (ii) an evidence pack containing the retrieved curriculum snippets R together with stable IDs, and (iii) format constraints describing how to present the teacher-facing macro plan and student-facing micro checkpoints. The LLM is instructed that any lesson identifier appearing in the output must be drawn from the provided plan IDs, and that any factual statement about objectives or examples must be supported by one of the evidence IDs.
This interface is intentionally restrictive. In educational deployment, many important failures are structural rather than merely linguistic: the model may suggest out-of-scope topics, skip prerequisites, or reference material from a different textbook sequence. By presenting the plan as a fixed object and limiting evidence to a path-local neighborhood, the generation stage becomes more stable, more auditable, and more resistant to prompt injection that seeks to elicit cross-scope content.
4.3.3. Schema Enforcement and Finite-State Constraints
We apply two decoding-time constraints aimed at the most error-prone parts of the output: path specification and evidence citation.
Schema enforcement. The output must follow a fixed schema containing (i) a macro path list aligned with , (ii) micro checkpoints aligned with , and (iii) rationales that cite only evidence IDs from R. Any decode that violates the schema, for example by omitting a required field, introducing a node outside the plan, or citing a non-existent evidence ID, is rejected and regenerated under stricter constraints, such as a lower temperature or a smaller allowed token set for identifiers. This ensures that downstream systems, such as teacher dashboards or student-facing applications, can parse the output reliably and that the model cannot implicitly insert extra identifiers through free-form text.
Finite-state path constraint. Let denote the regular language of strings that mention macro nodes in the prescribed order, while allowing arbitrary explanatory text between mentions. We implement a finite-state controller that masks invalid lesson-identifier tokens during decoding of the plan fields. This guarantees that (i) only identifiers from , and more specifically from , can appear in the macro path field; (ii) the order of identifiers matches ; and (iii) micro checkpoint identifiers are drawn from and remain consistent with . The controller is applied only to schema-critical spans, namely the path and checkpoint fields, so that the explanatory narrative can remain natural while structural correctness is still guaranteed.
Even when learner data remains protected on-device, privacy can still be compromised if the output channel is left unconstrained. An unconstrained model, for instance, might encode learner-specific information in subtle wording, reproduce distinctive error patterns, or reveal that a learner is struggling with a sensitive topic by overemphasizing remediation. PrivPath reduces these risks in three ways. First, personalization enters the planning stage through and influences the selection of remediation nodes, but the output never includes raw mastery values; instead, it presents high-level pedagogical rationales grounded in curriculum evidence. Second, retrieval is restricted to curriculum memory items, preventing the LLM from quoting user-provided text or logs. Third, constrained decoding reduces the degrees of freedom in the most structured parts of the output, making it more difficult for an attacker to perform inference by comparing idiosyncratic variations in plan representations.
4.4. Algorithm Summary and Privacy/Complexity Properties
This subsection summarizes PrivPath end to end and highlights the main privacy and complexity properties that motivate its design. The emphasis is not only on the steps of the algorithm themselves, but also on how each step reduces either curriculum drift or privacy leakage relative to unconstrained LLM prompting.
4.4.1. End-to-End Procedure
PrivPath takes as input a request x specifying a scope , a target set , and optional pacing or time constraints, and returns . The full pipeline is as follows:
- 1.
- Scope anchoring (server). Compute the eligible set by intersecting the tri-index slices, and construct the scoped subgraph . Then expand the candidate planning region using bounded prerequisite and postrequisite closure around .
- 2.
- Private learner summarization (device). From raw local data , compute bounded mastery signals for , and release the privatized vector under a local DP mechanism with privacy budget .
- 3.
- TIPP (device or server). Using together with , solve the augmented-state shortest-path problem to obtain the macro plan . Then expand the macro nodes into a consistent microplan using the mapping and the lesson metadata , keeping micro selection on-device when it depends on learner-sensitive signals.
- 4.
- Restricted retrieval (server). Retrieve curriculum evidence R only from items whose scope matches and whose node anchors fall within the neighborhood of , yielding a compact evidence pack for grounding.
- 5.
- Constrained generation (server). Generate the final explanation y conditioned on while enforcing a fixed schema and applying finite-state constraints to the path fields, so that identifiers cannot drift away from the planned paths.
This decomposition offers two practical advantages: (1). auditability, because the plan is computed by an explicit optimizer over and the LLM is limited to verbalization, and (2). defense-in-depth, because a failure would require simultaneous breakdown of scope anchoring, retrieval restriction, and decoding constraints.
4.4.2. Privacy Properties
PrivPath provides a strong structural privacy boundary: raw learner data remains on-device, and all server-side components operate only on curriculum memory and privatized summaries. The main quantitative guarantee comes from the local DP mechanism applied to the mastery vector. For any two possible local mastery inputs and any output event, the release distribution differs by at most a factor of , meaning that the server cannot reliably distinguish between alternative learner states solely from the released summary.
Beyond this formal guarantee, PrivPath also reduces practical leakage through the output channel by design:
- No learner text in context. The LLM never receives free-text reflections, raw answers, or interaction logs; it is conditioned only on curriculum evidence R and the planned identifiers.
- Low-dimensional, bounded influence. Personalization affects the choice of curriculum nodes through , but the generation stage is instructed not to reveal numeric mastery values; rationales remain at the curriculum level and are grounded in evidence.
- Reduced degrees of freedom. Constrained decoding limits how much information can be encoded in structured fields such as path identifiers and checkpoint lists, which are the most accessible surfaces for output-comparison attacks.
These properties help explain why, in Section 5, PrivPath pushes membership and attribute inference AUCs toward random guessing when is sufficiently small.
4.4.3. Complexity and Scalability
Let and . The exact planner performs shortest-path search on an augmented state space of size , with transitions. The exponential dependence is only on the size of the target set, not on the full curriculum. In the intended lesson-planning regime, is usually between 1 and 3, so the exact solver remains practical. When larger bundles are requested, we use a deployment fallback that partitions into small contiguous groups, solves each group separately, and connects the resulting partial solutions with shortest curriculum bridges; a beam-search approximation in the same state space can be used when a single-pass response is preferred. Candidate restriction also bounds device-side computation and communication, since only privatized scores over are released rather than the full learner history. Retrieval runs over the restricted memory , and the overhead of constrained decoding is negligible because masking is applied only to identifier tokens in schema-critical spans.
4.4.4. Failure Modes and Mitigations
PrivPath is designed to address three common failure modes in educational LLM systems. First, scope drift is prevented by tri-index anchoring and identifier masking; even if the model attempts to reference an out-of-scope lesson, the token is invalid under the finite-state controller. Second, pedagogical jumps are reduced because the path is computed over with explicit edge penalties and feasibility constraints. Third, privacy leakage is mitigated by local DP and by removing learner traces from the model context. Residual risks include errors in the curriculum graph itself, such as incorrect prerequisite edges, and noisy mastery estimates under very small . These can be mitigated through careful horizon calibration, robust difficulty metadata , and conservative fallbacks such as teacher confirmation when uncertainty is high.
From a deployment perspective, PrivPath is intended as a teacher-in-the-loop assistant rather than an autonomous scheduler. The interface can expose the scoped path, the supporting evidence IDs, and a confidence signal derived from the margin between competing path costs. This allows teachers to approve or revise recommendations before they are delivered to students, which is particularly important when curriculum graphs are incomplete, learner history is sparse, or stronger privacy noise makes neighboring plans difficult to distinguish.
5. Experiments
5.1. Experimental Settings
This subsection consolidates the experimental setting, baselines, evaluation metrics, and dataset statistics into a single description. Our evaluation focuses on three questions: (i) curriculum controllability—whether recommended paths stay within the requested stage–subject–textbook scope and follow the curriculum topology; (ii) path utility—whether the proposed micro-level guidance yields measurable offline gains under a standard evaluation proxy; and (iii) privacy leakage—whether an attacker can infer learner participation or sensitive mastery attributes from outputs.
Datasets and scope construction. We use three real, widely used educational interaction datasets with learner-level sequences: ASSISTments 2017 (https://sites.google.com/site/assistmentsdata/ (accessed on 20 January 2026)), EdNet-KT1 (https://github.com/riiid/ednet (accessed on 20 January 2026)), and Riiid Answer Correctness Prediction (https://www.kaggle.com/c/riiid-test-answer-prediction (accessed on 20 January 2026)). To instantiate the stage–subject–textbook scope and build a curriculum graph that is publicly auditable, we use OpenStax textbooks (Prealgebra and Algebra and Trigonometry; https://openstax.org/details/books/prealgebra (accessed on 20 January 2026), https://openstax.org/details/books/algebra-and-trigonometry (accessed on 20 January 2026)). Each textbook section is treated as a curriculum node , and directed edges follow the textbook order. This yields a clean, deterministic baseline curriculum topology while remaining realistic enough for curriculum-scoped constraints, and Table 2 summarizes the resulting dataset statistics used in the experiments.
Table 2.
Dataset statistics used in experiments (after cleaning; learners with fewer than 50 interactions removed). Splits are by learners (80/10/10).
Mapping interactions to curriculum nodes. Each dataset provides problem/skill tags (or concept identifiers). We map each tag to a textbook section node via a two-stage procedure: keyword matching over section titles/objectives, followed by embedding similarity to break ties (top-1 match). This mapping is used only to (i) compute the on-device mastery signal on a bounded candidate region and (ii) evaluate whether the generated microplan targets the intended skills. Importantly, the curriculum memory contains only textbook-derived snippets and metadata; learner traces are not stored in . Figure 2 summarizes this construction pipeline from textbook sections and dataset tags to curriculum nodes, curriculum memory, and on-device mastery estimation.
Figure 2.
How curriculum scope and evaluation signals are constructed: Open textbook sections define curriculum nodes and edges in , and also populate curriculum memory ; dataset tags are mapped to curriculum nodes (keyword + embedding) to support mastery estimation on the device and offline evaluation of micro interventions.
Task construction. For each learner p, we split their interaction sequence into prefix (observed) and suffix (held-out). We sample a request x by selecting a target set of size 1–3 corresponding to the next upcoming mapped nodes in textbook order (from the learner’s suffix). The scope is fixed as where is set to a secondary-school band, to mathematics, and to one of the two OpenStax textbooks; the system must output consistent with . Unless otherwise noted, we use horizons and , retrieval size , and local privacy budget for the privatized mastery vector , and Table 3 summarizes the key evaluation and system settings.
Table 3.
Key evaluation and system settings (shared across all datasets unless noted).
Baselines. We compare against HeuristicPrereq (graph prerequisite closure without mastery), Unconstrained-RAG (no tri-index filtering, no constrained decoding, non-private personalization), TriIndex-RAG (tri-index retrieval but free-form path proposal), TIPP-noCD (TIPP with privatized mastery but no constrained decoding), and PrivPath (full) (TIPP + privacy-aware retrieval + curriculum-constrained decoding). Following the reviewer’s suggestion, we additionally include two generic privacy baselines adapted from prior DP literature: DP-SGD-RAG, which privatizes server-side adapter personalization using DP-SGD, and ULDP-FT, which applies user-level private fine-tuning before inference [6,7,8]. All LLM-based methods use the same underlying generator and the same curriculum memory so that differences reflect planning/privacy mechanisms rather than model capacity.
Metrics. Curriculum alignment is measured by Scope match (fraction of with ), Graph feasibility (fraction of consecutive macro pairs that are edges in ), and Target coverage (fraction of included in ). Offline utility is measured by under a held-out knowledge tracing model, computed by simulating insertion of the next L practice opportunities implied by into the learner suffix. Privacy leakage is assessed by membership inference AUC (whether the learner contributed to personalization for a given output) and attribute inference AUC (whether the learner is below a mastery threshold on a sensitive node ), both trained on shadow learners using only outputs and public curriculum information.
We emphasize that is an offline proxy rather than a direct classroom outcome. It measures whether the generated microplan is more consistent with future correctness under a held-out knowledge-tracing evaluator, which is useful for controlled algorithm comparison but does not substitute for student learning gains, teacher workload reduction, or classroom adoption. We therefore interpret improvements in as evidence of relative planning utility only, and we reserve prospective teacher studies and classroom trials for future work.
5.2. Main Results
We report the primary comparison among PrivPath and baselines under the default setting , , and . For each dataset, we evaluate 10,000 requests balanced across and average metrics across requests (3 random seeds). The results emphasize three aspects: (i) scope correctness (whether all recommended macro nodes satisfy ), (ii) curriculum feasibility (whether transitions follow ), and (iii) privacy–utility behavior (offline and membership inference AUC).
Overall trends. Free-form LLM planning (TriIndex-RAG) often remains in scope due to tri-index filtering of evidence, but still suffers from sequencing errors because the model can propose non-adjacent jumps that violate . In contrast, TIPP-based variants substantially improve feasibility because the macro plan is computed over before generation. Privacy mechanisms primarily affect leakage metrics: Unconstrained-RAG yields strong utility but also high membership inference AUC, while PrivPath reduces membership inference toward random guessing while retaining most of the utility gain from personalization. These aggregate effects are quantified in Table 4: PrivPath achieves near-perfect feasibility and scope match, indicating that tri-index scope anchoring plus constrained decoding effectively removes cross-scope drift and reordering errors. The remaining feasibility gap between TIPP-noCD and PrivPath suggests that decoding-time constraints matter even when the plan is correct: without constrained decoding, the model can still misreport identifiers or introduce spurious steps in the textual plan field, which hurts feasibility measurements computed from the emitted sequence.
Table 4.
Aggregated main results across datasets (mean ± std across seeds). Higher is better except Mem-AUC (lower is better).
To verify robustness across datasets with different tagging schemes and interaction volumes, Table 5 reports dataset-level averages for the most informative metrics (feasibility, , Mem-AUC). The pattern is consistent: (i) TIPP-based planning improves feasibility across the board, and (ii) local DP and constrained decoding substantially reduce leakage while preserving most of the utility gains.
Table 5.
Per-dataset results (mean across requests; std across seeds in parentheses).
Alignment and feasibility. The feasibility gains from TIPP are large in absolute terms (roughly +14–17 points vs. TriIndex-RAG). This supports the core thesis that curriculum correctness is better enforced through explicit optimization on than through prompting alone. PrivPath further improves feasibility by making it difficult for the LLM to misstate or reorder the plan, so the emitted plan matches the computed plan; the same ordering is visualized in Figure 3.
Figure 3.
Graph feasibility (%) averaged across datasets. Bars are ordered left-to-right as HeuristicPrereq, Unconstrained-RAG, TriIndex-RAG, TIPP-noCD, and PrivPath (full); numeric values are printed above each bar.
Utility and privacy. PrivPath improves offline utility relative to both heuristic planning and free-form RAG, suggesting that even with privatized mastery , the planner can insert appropriate remediation nodes and prioritize micro checkpoints consistent with the learner’s needs. At the same time, Mem-AUC drops substantially compared with non-private personalization, consistent with the output-channel restrictions and local DP summarization. Figure 4 summarizes the corresponding cross-method improvement in the offline utility proxy AUC. The next subsection compares PrivPath with generic DP personalization baselines, and Section 5.4 then analyzes the privacy–utility trade-off as varies.
Figure 4.
Offline utility proxy AUC averaged across datasets. Bars are ordered left-to-right as HeuristicPrereq, Unconstrained-RAG, TriIndex-RAG, TIPP-noCD, and PrivPath (full); values are printed above bars.
5.3. Comparison with Existing DP Personalization Methods
To distinguish private curriculum planning from generic private model adaptation, we compare PrivPath with two DP baselines that keep the same curriculum memory, request construction, and generator backbone: DP-SGD-RAG and ULDP-FT. The first baseline privatizes server-side adapter tuning, while the second applies user-level private fine-tuning before inference. Neither baseline includes explicit curriculum-graph planning or constrained decoding, so this comparison isolates whether privacy training alone is sufficient for curriculum-feasible path generation.
This comparison is meant to separate two effects. Generic DP training can reduce leakage, but it does not by itself guarantee scope-feasible path construction because the generator still proposes the path autoregressively. The aggregated comparison in Table 6 confirms this expectation: PrivPath remains stronger on structural metrics because privacy is coupled with explicit graph planning and constrained decoding rather than being treated only as a model-training modification, while also delivering the best utility and the lowest membership-inference AUC.
Table 6.
Comparison with generic DP personalization baselines. Higher is better except Mem-AUC (lower is better).
5.4. Privacy–Utility Trade-Off
This subsection analyzes how the local privacy budget affects both (i) offline utility and (ii) privacy leakage. Because personalization in PrivPath enters through the privatized mastery vector (released under local DP), smaller injects more noise, which can weaken the planner’s ability to select the best remediation nodes. At the same time, smaller reduces the distinguishability of learner states and therefore decreases attack success for inference adversaries observing outputs.
Protocol. We fix all non-privacy hyperparameters (, , same generator and curriculum memory ) and sweep . For each setting, we evaluate 10,000 requests per dataset and report aggregated results across datasets. Two privacy attacks are considered: membership inference AUC (Mem-AUC) and attribute inference AUC (Attr-AUC). For attribute inference, we choose a sensitive node per scope (e.g., a high-stakes topic section) and define the binary attribute as whether true mastery is below a threshold; attackers are trained on shadow learners using only outputs (paths and explanations) and public curriculum artifacts, consistent with the threat model.
Observed trade-off. Utility improves monotonically with but saturates quickly: once , additional privacy budget yields diminishing returns because the path planner is already able to correctly rank low-mastery prerequisites for most requests. In contrast, Mem-AUC and Attr-AUC increase as grows; when , both attack AUCs are close to random guessing. This indicates that local DP is effective in reducing inference risk even when the output is an LLM-generated narrative, and that constrained decoding further stabilizes outputs so that attacks cannot exploit spurious variability. Numerically, Table 7 shows that provides a strong operating point: it achieves most of the attainable AUC gain while keeping both attack AUCs near 0.52. When pushing privacy stronger (e.g., ), utility drops but remains above the non-personalized heuristic baseline reported in Table 4, suggesting that even heavily privatized mastery can still inform useful remediation choices. Conversely, large budgets (e.g., ) noticeably increase leakage, consistent with greater information being revealed through less-noisy summaries. The same privacy–utility trend is visualized in Figure 5, and the corresponding attribute-inference trajectory is plotted in Figure 6.
Table 7.
Privacy–utility sweep for PrivPath (aggregated across datasets). Lower AUC is better for attacks; higher AUC is better for utility.
Figure 5.
Privacy–utility trade-off for PrivPath: solid line with circular markers plots AUC (left axis) versus , and dashed line with square markers plots Mem-AUC (right axis) versus ; smaller yields stronger privacy (Mem-AUC closer to 0.5) with reduced utility.
Figure 6.
Attribute inference risk as a function of privacy budget: the curve plots Attr-AUC versus for PrivPath (higher is worse); Attr-AUC is close to random guessing for and increases for larger budgets.
To contextualize the privacy sweep with alignment stability, Table 8 reports feasibility and coverage across the same values. These metrics remain essentially constant because feasibility is guaranteed by planning on and by constrained decoding, and coverage is enforced by the augmented-state planner. Thus, the privacy budget mainly affects which prerequisites are selected (utility) rather than whether the plan is structurally valid (alignment).
Table 8.
Alignment stability across privacy budgets for PrivPath (aggregated across datasets).
5.5. Ablation Study and Qualitative Audit
This subsection examines which components of PrivPath are responsible for (i) curriculum alignment and (ii) privacy protection, and then complements the quantitative analysis with a qualitative audit of generated teaching paths. The ablation focuses on removing one capability at a time: tri-index scope anchoring, TIPP, local DP, and curriculum-constrained decoding (CD). We report both alignment metrics (scope match, feasibility, coverage) and leakage metrics (membership and attribute inference AUC). The qualitative audit then illustrates typical failure modes of non-constrained generation and how PrivPath mitigates them.
Ablation protocol. We evaluate on ASSISTments 2017 with 10,000 requests (balanced by ) under the same curriculum scope construction and retrieval setting as Section 5.1. Unless otherwise specified, local DP uses and the planning horizons are . The ablated variants are as follows:
- No tri-index filter: retrieval and planning are allowed to mix nodes across textbooks/stages, while still using the same underlying .
- Tri-index only: evidence restricted to , but the LLM proposes paths freely (no TIPP).
- Tri-index + TIPP (no DP): path planned using non-private mastery (upper bound on personalization leakage).
- Tri-index + DP (no CD): privatized planning but without constrained decoding; the LLM can still misreport identifiers or add extra steps in the plan field.
- PrivPath (DP + CD): the full system.
Table 9 highlights the division of labor among components. Tri-index anchoring primarily fixes scope match: without it, the model occasionally mixes content outside . TIPP primarily fixes feasibility and coverage because the macro plan is computed over with explicit coverage penalties. Curriculum-constrained decoding contributes an additional feasibility gain by ensuring the emitted plan field matches the computed plan (preventing accidental omission, reordering, or insertion of spurious nodes), and the same separation is visualized in Figure 7.
Table 9.
Ablation on ASSISTments 2017: alignment metrics. Higher is better.
Figure 7.
Graph feasibility (%) for ablations on ASSISTments 2017. Bars correspond to No tri-index filter, Tri-index only, Tri-index + TIPP (no DP), Tri-index + DP (no CD), and PrivPath (DP + CD).
Table 10 shows that local DP is the dominant factor in reducing both membership and attribute inference risk. Without DP (Tri-index + TIPP), attackers can exploit the stable personalization signal to infer participation and sensitive mastery. Adding DP reduces both AUCs sharply, and adding constrained decoding provides a further reduction by limiting variability in structured plan fields that attackers can compare across queries. Notably, tri-index filtering alone does not meaningfully improve privacy because it primarily addresses scope rather than the information content of personalization, and the corresponding drop in membership leakage is visualized in Figure 8.
Table 10.
Ablation on ASSISTments 2017: privacy leakage metrics. Lower is better; 0.5 is ideal for AUC.
Figure 8.
Membership inference AUC for ablations on ASSISTments 2017. Bars/points are ordered left-to-right as No tri-index filter, Tri-index only, Tri-index + TIPP (no DP), Tri-index + DP (no CD), and PrivPath (DP + CD); values are printed above each bar.
Qualitative audit. We manually inspect 200 randomly selected requests (teacher-facing format) and compare outputs from TriIndex-RAG and PrivPath. Three recurring patterns emerge. First, TriIndex-RAG occasionally introduces an out-of-order lesson identifier when attempting to “review” prerequisites, even though the evidence is in scope; this creates a plan that is difficult to execute in practice because it conflicts with the textbook order. PrivPath avoids this by computing on and enforcing identifier order in decoding. Second, TriIndex-RAG sometimes cites a concept name that does not appear in the retrieved scope evidence R (a mild hallucination), whereas PrivPath’s evidence restriction makes such citations rare and easy to detect when they occur. Third, in privacy-sensitive prompts (e.g., asking for “the student’s weaknesses”), non-private variants tend to produce overly specific statements about mastery that correlate strongly with the underlying learner trace. PrivPath produces higher-level pedagogical phrasing (e.g., “review prerequisite sections” and “use short diagnostic checks”) without emitting numeric mastery values, which reduces attribute inference success in Table 10.
Overall, the ablation confirms that PrivPath’s improvements are not attributable to any single mechanism alone. Tri-index anchoring ensures scope correctness, TIPP enforces curriculum-feasible sequencing and coverage, local DP reduces the learnability of learner-specific information by attackers, and constrained decoding stabilizes the structured plan channel so that the generated path faithfully reflects the computed one.
6. Conclusions
This paper introduced PrivPath, a privacy-preserving teaching-path guidance framework that aligns LLM-assisted instructional recommendations to a stage–subject–textbook scope. The proposed Tri-Index Private Path Planning (TIPP) algorithm combines tri-index curriculum restriction, on-device learner summarization with local differential privacy, curriculum-graph path optimization for feasible sequencing, and curriculum-constrained decoding with evidence-restricted retrieval to prevent off-scope recommendations and reduce leakage through the output channel. Experiments on real educational interaction datasets with an open-textbook curriculum scope demonstrated that PrivPath improves path feasibility and offline utility while substantially lowering membership and attribute inference risks, and the privacy–utility sweep showed controllable trade-offs via the local privacy budget. Overall, PrivPath provides a deployable blueprint for trustworthy LLM-based educational guidance that respects institutional curricula and protects learner privacy.
The current study also has important limitations. First, the evaluation relies on an offline KT-based proxy rather than direct classroom outcomes, so teacher studies and prospective trials are needed before stronger deployment claims can be made. Second, the exact augmented-state solver is most convenient when the target set is small; larger lesson bundles will require batching or approximate search. Third, the system assumes that the curriculum graph and tag-to-node mapping are reasonably accurate, whereas noisy curricular metadata can still degrade path quality. Future work will therefore focus on richer DP baseline comparisons, more robust curriculum-graph construction, uncertainty-aware teacher oversight, and school-based pilots that evaluate both learning outcomes and teacher usability.
Author Contributions
Conceptualization, S.F., H.W., J.Z. and Z.P.; methodology, H.W. and J.Z.; software, H.W. and J.Z.; investigation, S.F. and Z.P.; resources, Z.P.; supervision, Z.P. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The data presented in this study are openly available in ASSISTments 2017 (https://sites.google.com/site/assistmentsdata/ (accessed on 20 January 2026)), EdNet-KT1 (https://github.com/riiid/ednet (accessed on 20 January 2026)), and Riiid Answer Correctness Prediction (https://www.kaggle.com/c/riiid-test-answer-prediction (accessed on 20 January 2026).
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.T.; Rocktäschel, T.; et al. Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Adv. Neural Inf. Process. Syst. 2020, 33, 9459–9474. [Google Scholar]
- Hokamp, C.; Liu, Q. Lexically Constrained Decoding for Sequence Generation Using Grid Beam Search. In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (ACL), Vancouver, BC, Canada, 30 July–4 August 2017. [Google Scholar]
- Park, K.; Wang, J.; Berg-Kirkpatrick, T.; Polikarpova, N.; D’Antoni, L. Grammar-Aligned Decoding. arXiv 2024, arXiv:2405.21047. [Google Scholar] [CrossRef] [Scilit]
- Huang, J.Y.; Sengupta, S.; Bonadiman, D.; Lai, Y.A.; Gupta, A.; Pappas, N.; Mansour, S.; Kirchhoff, K.; Roth, D. DeAL: Decoding-time Alignment for Large Language Models. arXiv 2024, arXiv:2402.06147. [Google Scholar]
- Dwork, C.; McSherry, F.; Nissim, K.; Smith, A. Calibrating Noise to Sensitivity in Private Data Analysis. In Proceedings of the Theory of Cryptography Conference (TCC); Springer: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
- Abadi, M.; Chu, A.; Goodfellow, I.; McMahan, H.B.; Mironov, I.; Talwar, K.; Zhang, L. Deep Learning with Differential Privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security (CCS), Vienna, Austria, 24–28 October 2016. [Google Scholar]
- Yu, D.; Naik, S.; Backurs, A.; Gopi, S.; Inan, H.A.; Kamath, G.; Kulkarni, J.; Lee, Y.T.; Manoel, A.; Wutschitz, L.; et al. Differentially Private Fine-tuning of Language Models. In Proceedings of the International Conference on Learning Representations (ICLR), Virtual, 25 April 2022. [Google Scholar]
- Charles, Z.; Ganesh, A.; McKenna, R.; McMahan, H.B.; Mitchell, N.E.; Pillutla, K.; Rush, J.K. Fine-Tuning Large Language Models with User-Level Differential Privacy. arXiv 2024, arXiv:2407.07737. [Google Scholar]
- Grattafiori, A.; Dubey, A.; Jauhri, A.; Pandey, A.; Kadian, A.; Al-Dahle, A.; Letman, A.; Mathur, A.; Schelten, A.; Vaughan, A.; et al. The Llama 3 Herd of Models. arXiv 2024, arXiv:2407.21783. [Google Scholar] [CrossRef] [Scilit]
- Abdin, M.; Aneja, J.; Awadalla, H.; Awadallah, A.; Awan, A.A.; Bach, N.; Bahree, A.; Bakhtiari, A.; Bao, J.; Behl, H.; et al. Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone. arXiv 2024, arXiv:2404.14219. [Google Scholar] [CrossRef] [Scilit]
- Gemini Team. Gemini 1.5: Unlocking Multimodal Understanding across Millions of Tokens of Context. arXiv 2024, arXiv:2403.05530. [Google Scholar] [CrossRef] [Scilit]
- Yang, A.; Yang, B.; Hui, B.; Zheng, B.; Yu, B.; Zhou, C.; Li, C.; Li, C.; Liu, D.; Huang, F.; et al. Qwen2 Technical Report. arXiv 2024, arXiv:2407.10671. [Google Scholar]
- Yang, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Li, C.; Liu, D.; Huang, F.; Wei, H.; et al. Qwen2.5 Technical Report. arXiv 2024, arXiv:2412.15115. [Google Scholar] [CrossRef] [Scilit]
- Wang, S.; Xu, T.; Li, H.; Zhang, C.; Liang, J.; Tang, J.; Yu, P.S.; Wen, Q. Large Language Models for Education: A Survey and Outlook. arXiv 2024, arXiv:2403.18105. [Google Scholar] [CrossRef] [Scilit]
- Xu, H.; Gan, W.; Qi, Z.; Wu, J.; Yu, P.S. Large Language Models for Education: A Survey. arXiv 2024, arXiv:2405.13001. [Google Scholar] [CrossRef] [Scilit]
- Shokri, R.; Stronati, M.; Song, C.; Shmatikov, V. Membership Inference Attacks Against Machine Learning Models. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Jose, CA, USA, 22–24 May 2017. [Google Scholar]
- Nasr, M.; Shokri, R.; Houmansadr, A. Comprehensive Privacy Analysis of Deep Learning: Passive and Active White-Box Inference Attacks against Centralized and Federated Learning. In Proceedings of the IEEE Symposium on Security and Privacy (S&P), San Francisco, CA, USA, 19–23 May 2019. [Google Scholar]
- Carlini, N.; Liu, C.; Erlingsson, Ú.; Kos, J.; Song, D. The Secret Sharer: Measuring Unintended Memorization in Neural Networks. In Proceedings of the 28th USENIX Security Symposium (USENIX Security), Santa Clara, CA, USA, 14–16 August 2019. [Google Scholar]
- Carlini, N.; Tramer, F.; Wallace, E.; Jagielski, M.; Herbert-Voss, A.; Lee, K.; Roberts, A.; Brown, T.; Song, D.; Erlingsson, Ú.; et al. Extracting Training Data from Large Language Models. In Proceedings of the 30th USENIX Security Symposium (USENIX Security), Online, 11–13 August 2021. [Google Scholar]
- Duan, M.; Suri, A.; Mireshghallah, N.; Min, S.; Shi, W.; Zettlemoyer, L.; Tsvetkov, Y.; Choi, Y.; Evans, D.; Hajishirzi, H. Do Membership Inference Attacks Work on Large Language Models? arXiv 2024, arXiv:2402.07841. [Google Scholar] [CrossRef] [Scilit]
- Kandpal, N.; Pillutla, K.; Oprea, A.; Kairouz, P.; Choquette-Choo, C.A.; Xu, Z. User Inference Attacks on Large Language Models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), Miami, FL, USA, 12–16 November 2024; Association for Computational Linguistics: Kerrville, TX, USA, 2024. [Google Scholar]
- Pan, Z.; Ying, Z.; Wang, Y.; Zhang, C.; Zhang, W.; Zhou, W.; Zhu, L. Feature-Based Machine Unlearning for Vertical Federated Learning in IoT Networks. IEEE Trans. Mob. Comput. 2025, 24, 5031–5044. [Google Scholar] [CrossRef] [Scilit]
- Mironov, I. Rényi Differential Privacy. In Proceedings of the IEEE 30th Computer Security Foundations Symposium (CSF), Santa Barbara, CA, USA, 21–25 August 2017. [Google Scholar]
- McMahan, H.B.; Moore, E.; Ramage, D.; Hampson, S.; y Arcas, B.A. Communication-Efficient Learning of Deep Networks from Decentralized Data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics (AISTATS), Fort Lauderdale, FL, USA, 20–22 April 2017. [Google Scholar]
- Geyer, R.C.; Klein, T.; Nabi, M. Differentially Private Federated Learning: A Client Level Perspective. arXiv 2017, arXiv:1712.07557. [Google Scholar]
- Papernot, N.; Abadi, M.; Erlingsson, Ú.; Goodfellow, I.; Talwar, K. Semi-Supervised Knowledge Transfer for Deep Learning from Private Training Data. In Proceedings of the International Conference on Learning Representations (ICLR), Toulon, France, 24–26 April 2017. [Google Scholar]
- Chua, L.; Ghazi, B.; Huang, Y.; Kamath, P.; Kumar, R.; Liu, D.; Manurangsi, P.; Sinha, A.; Zhang, C. Mind the Privacy Unit! User-Level Differential Privacy for Language Model Fine-Tuning. arXiv 2024, arXiv:2406.14322. [Google Scholar] [CrossRef] [Scilit]
- Li, X.; Zmigrod, R.; Ma, Z.; Liu, X.; Zhu, X. Fine-Tuning Language Models with Differential Privacy through Adaptive Noise Allocation. In Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2024, Miami, FL, USA, 12–16 November 2024; pp. 8368–8375. [Google Scholar] [CrossRef] [Scilit]
- Tang, X.; Panda, A.; Nasr, M.; Mahloujifar, S.; Mittal, P. Private Fine-tuning of Large Language Models with Zeroth-order Optimization. arXiv 2024, arXiv:2401.04343. [Google Scholar]
- Du, H.; Liu, S.; Zheng, L.; Cao, Y.; Nakamura, A.; Chen, L. Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directions. arXiv 2024, arXiv:2412.16504. [Google Scholar] [CrossRef] [Scilit]
- Post, M.; Vilar, D. Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translation. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), New Orleans, LA, USA, 1–6 June 2018. [Google Scholar]
- Raspanti, F.; Ozcelebi, T.; Holenderski, M. Grammar-Constrained Decoding Makes Large Language Models Better Logical Parsers. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track); Association for Computational Linguistics: Vienna, Austria, 2025; pp. 485–499. [Google Scholar]
- Corbett, A.T.; Anderson, J.R. Knowledge Tracing: Modeling the Acquisition of Procedural Knowledge. User Model.-User-Adapt. Interact. 1994, 4, 253–278. [Google Scholar] [CrossRef] [Scilit]
- Piech, C.; Bassen, J.; Huang, J.; Ganguli, S.; Sahami, M.; Guibas, L.; Sohl-Dickstein, J. Deep Knowledge Tracing. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Montreal, QC, Canada, 7–12 December 2015. [Google Scholar]
- Pandey, S.; Karypis, G. A Self-Attentive Model for Knowledge Tracing. In Proceedings of the 12th International Conference on Educational Data Mining (EDM), Montreal, QC, Canada, 2–5 July 2019. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







